Documentation ¶
Index ¶
- type File
- func (_m *File) Close() error
- func (_m *File) Name() string
- func (_m *File) Read(p []byte) (int, error)
- func (_m *File) ReadAt(p []byte, off int64) (int, error)
- func (_m *File) Readdir(count int) ([]os.FileInfo, error)
- func (_m *File) Readdirnames(n int) ([]string, error)
- func (_m *File) Seek(offset int64, whence int) (int64, error)
- func (_m *File) Stat() (os.FileInfo, error)
- func (_m *File) Sync() error
- func (_m *File) Truncate(size int64) error
- func (_m *File) Write(p []byte) (int, error)
- func (_m *File) WriteAt(p []byte, off int64) (int, error)
- func (_m *File) WriteString(s string) (int, error)
- type Transpiler
- func (_m *Transpiler) FileSystem() afero.Fs
- func (_m *Transpiler) GetFiles(dir string) []afero.File
- func (_m *Transpiler) Run(source string, dest string, files []afero.File, imports []string) error
- func (_m *Transpiler) SetFileSystem(_a0 afero.Fs)
- func (_m *Transpiler) SetVerbose(_a0 bool)
- func (_m *Transpiler) Verbose() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
File is an autogenerated mock type for the File type
func (*File) Readdirnames ¶
Readdirnames provides a mock function with given fields: n
type Transpiler ¶
Transpiler is an autogenerated mock type for the Transpiler type
func (*Transpiler) FileSystem ¶
func (_m *Transpiler) FileSystem() afero.Fs
FileSystem provides a mock function with given fields:
func (*Transpiler) GetFiles ¶
func (_m *Transpiler) GetFiles(dir string) []afero.File
GetFiles provides a mock function with given fields: dir
func (*Transpiler) Run ¶
Run provides a mock function with given fields: source, dest, files, imports
func (*Transpiler) SetFileSystem ¶
func (_m *Transpiler) SetFileSystem(_a0 afero.Fs)
SetFileSystem provides a mock function with given fields: _a0
func (*Transpiler) SetVerbose ¶
func (_m *Transpiler) SetVerbose(_a0 bool)
SetVerbose provides a mock function with given fields: _a0
func (*Transpiler) Verbose ¶
func (_m *Transpiler) Verbose() bool
Verbose provides a mock function with given fields:
Click to show internal directories.
Click to hide internal directories.