Documentation ¶
Index ¶
- func Directory(ctx context.Context, target *cassette.Control, base string, allowCodebase bool) error
- func ImportFile(ctx context.Context, target *cassette.Control, base string, asset string, ...) (bool, string, error)
- func MimetypeFromExtension(ext string) string
- type ErrCodebaseNotAllowed
- type UserCodeError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ImportFile ¶
func MimetypeFromExtension ¶
Types ¶
type ErrCodebaseNotAllowed ¶
func (ErrCodebaseNotAllowed) Error ¶
func (e ErrCodebaseNotAllowed) Error() string
type UserCodeError ¶
type UserCodeError struct { Asset string // contains filtered or unexported fields }
func (UserCodeError) Error ¶
func (e UserCodeError) Error() string
func (UserCodeError) Unwrap ¶
func (e UserCodeError) Unwrap() error
Click to show internal directories.
Click to hide internal directories.