Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeClearFoldersOSFileManager
- func (fake *FakeClearFoldersOSFileManager) Invocations() map[string][][]interface{}
- func (fake *FakeClearFoldersOSFileManager) ReadDir(arg1 string) ([]os.DirEntry, error)
- func (fake *FakeClearFoldersOSFileManager) ReadDirArgsForCall(i int) string
- func (fake *FakeClearFoldersOSFileManager) ReadDirCallCount() int
- func (fake *FakeClearFoldersOSFileManager) ReadDirCalls(stub func(string) ([]os.DirEntry, error))
- func (fake *FakeClearFoldersOSFileManager) ReadDirReturns(result1 []os.DirEntry, result2 error)
- func (fake *FakeClearFoldersOSFileManager) ReadDirReturnsOnCall(i int, result1 []os.DirEntry, result2 error)
- func (fake *FakeClearFoldersOSFileManager) Remove(arg1 string) error
- func (fake *FakeClearFoldersOSFileManager) RemoveArgsForCall(i int) string
- func (fake *FakeClearFoldersOSFileManager) RemoveCallCount() int
- func (fake *FakeClearFoldersOSFileManager) RemoveCalls(stub func(string) error)
- func (fake *FakeClearFoldersOSFileManager) RemoveReturns(result1 error)
- func (fake *FakeClearFoldersOSFileManager) RemoveReturnsOnCall(i int, result1 error)
- type FakeDirEntry
- func (fake *FakeDirEntry) Info() (fs.FileInfo, error)
- func (fake *FakeDirEntry) InfoCallCount() int
- func (fake *FakeDirEntry) InfoCalls(stub func() (fs.FileInfo, error))
- func (fake *FakeDirEntry) InfoReturns(result1 fs.FileInfo, result2 error)
- func (fake *FakeDirEntry) InfoReturnsOnCall(i int, result1 fs.FileInfo, result2 error)
- func (fake *FakeDirEntry) Invocations() map[string][][]interface{}
- func (fake *FakeDirEntry) IsDir() bool
- func (fake *FakeDirEntry) IsDirCallCount() int
- func (fake *FakeDirEntry) IsDirCalls(stub func() bool)
- func (fake *FakeDirEntry) IsDirReturns(result1 bool)
- func (fake *FakeDirEntry) IsDirReturnsOnCall(i int, result1 bool)
- func (fake *FakeDirEntry) Name() string
- func (fake *FakeDirEntry) NameCallCount() int
- func (fake *FakeDirEntry) NameCalls(stub func() string)
- func (fake *FakeDirEntry) NameReturns(result1 string)
- func (fake *FakeDirEntry) NameReturnsOnCall(i int, result1 string)
- func (fake *FakeDirEntry) Type() fs.FileMode
- func (fake *FakeDirEntry) TypeCallCount() int
- func (fake *FakeDirEntry) TypeCalls(stub func() fs.FileMode)
- func (fake *FakeDirEntry) TypeReturns(result1 fs.FileMode)
- func (fake *FakeDirEntry) TypeReturnsOnCall(i int, result1 fs.FileMode)
- type FakeManager
- func (fake *FakeManager) Invocations() map[string][][]interface{}
- func (fake *FakeManager) ReplaceFiles(arg1 []file.File) error
- func (fake *FakeManager) ReplaceFilesArgsForCall(i int) []file.File
- func (fake *FakeManager) ReplaceFilesCallCount() int
- func (fake *FakeManager) ReplaceFilesCalls(stub func([]file.File) error)
- func (fake *FakeManager) ReplaceFilesReturns(result1 error)
- func (fake *FakeManager) ReplaceFilesReturnsOnCall(i int, result1 error)
- type FakeOSFileManager
- func (fake *FakeOSFileManager) Chmod(arg1 *os.File, arg2 os.FileMode) error
- func (fake *FakeOSFileManager) ChmodArgsForCall(i int) (*os.File, os.FileMode)
- func (fake *FakeOSFileManager) ChmodCallCount() int
- func (fake *FakeOSFileManager) ChmodCalls(stub func(*os.File, os.FileMode) error)
- func (fake *FakeOSFileManager) ChmodReturns(result1 error)
- func (fake *FakeOSFileManager) ChmodReturnsOnCall(i int, result1 error)
- func (fake *FakeOSFileManager) Create(arg1 string) (*os.File, error)
- func (fake *FakeOSFileManager) CreateArgsForCall(i int) string
- func (fake *FakeOSFileManager) CreateCallCount() int
- func (fake *FakeOSFileManager) CreateCalls(stub func(string) (*os.File, error))
- func (fake *FakeOSFileManager) CreateReturns(result1 *os.File, result2 error)
- func (fake *FakeOSFileManager) CreateReturnsOnCall(i int, result1 *os.File, result2 error)
- func (fake *FakeOSFileManager) Invocations() map[string][][]interface{}
- func (fake *FakeOSFileManager) ReadDir(arg1 string) ([]fs.DirEntry, error)
- func (fake *FakeOSFileManager) ReadDirArgsForCall(i int) string
- func (fake *FakeOSFileManager) ReadDirCallCount() int
- func (fake *FakeOSFileManager) ReadDirCalls(stub func(string) ([]fs.DirEntry, error))
- func (fake *FakeOSFileManager) ReadDirReturns(result1 []fs.DirEntry, result2 error)
- func (fake *FakeOSFileManager) ReadDirReturnsOnCall(i int, result1 []fs.DirEntry, result2 error)
- func (fake *FakeOSFileManager) Remove(arg1 string) error
- func (fake *FakeOSFileManager) RemoveArgsForCall(i int) string
- func (fake *FakeOSFileManager) RemoveCallCount() int
- func (fake *FakeOSFileManager) RemoveCalls(stub func(string) error)
- func (fake *FakeOSFileManager) RemoveReturns(result1 error)
- func (fake *FakeOSFileManager) RemoveReturnsOnCall(i int, result1 error)
- func (fake *FakeOSFileManager) Write(arg1 *os.File, arg2 []byte) error
- func (fake *FakeOSFileManager) WriteArgsForCall(i int) (*os.File, []byte)
- func (fake *FakeOSFileManager) WriteCallCount() int
- func (fake *FakeOSFileManager) WriteCalls(stub func(*os.File, []byte) error)
- func (fake *FakeOSFileManager) WriteReturns(result1 error)
- func (fake *FakeOSFileManager) WriteReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClearFoldersOSFileManager ¶
type FakeClearFoldersOSFileManager struct { ReadDirStub func(string) ([]os.DirEntry, error) RemoveStub func(string) error // contains filtered or unexported fields }
func (*FakeClearFoldersOSFileManager) Invocations ¶
func (fake *FakeClearFoldersOSFileManager) Invocations() map[string][][]interface{}
func (*FakeClearFoldersOSFileManager) ReadDir ¶
func (fake *FakeClearFoldersOSFileManager) ReadDir(arg1 string) ([]os.DirEntry, error)
func (*FakeClearFoldersOSFileManager) ReadDirArgsForCall ¶
func (fake *FakeClearFoldersOSFileManager) ReadDirArgsForCall(i int) string
func (*FakeClearFoldersOSFileManager) ReadDirCallCount ¶
func (fake *FakeClearFoldersOSFileManager) ReadDirCallCount() int
func (*FakeClearFoldersOSFileManager) ReadDirCalls ¶
func (fake *FakeClearFoldersOSFileManager) ReadDirCalls(stub func(string) ([]os.DirEntry, error))
func (*FakeClearFoldersOSFileManager) ReadDirReturns ¶
func (fake *FakeClearFoldersOSFileManager) ReadDirReturns(result1 []os.DirEntry, result2 error)
func (*FakeClearFoldersOSFileManager) ReadDirReturnsOnCall ¶
func (fake *FakeClearFoldersOSFileManager) ReadDirReturnsOnCall(i int, result1 []os.DirEntry, result2 error)
func (*FakeClearFoldersOSFileManager) Remove ¶
func (fake *FakeClearFoldersOSFileManager) Remove(arg1 string) error
func (*FakeClearFoldersOSFileManager) RemoveArgsForCall ¶
func (fake *FakeClearFoldersOSFileManager) RemoveArgsForCall(i int) string
func (*FakeClearFoldersOSFileManager) RemoveCallCount ¶
func (fake *FakeClearFoldersOSFileManager) RemoveCallCount() int
func (*FakeClearFoldersOSFileManager) RemoveCalls ¶
func (fake *FakeClearFoldersOSFileManager) RemoveCalls(stub func(string) error)
func (*FakeClearFoldersOSFileManager) RemoveReturns ¶
func (fake *FakeClearFoldersOSFileManager) RemoveReturns(result1 error)
func (*FakeClearFoldersOSFileManager) RemoveReturnsOnCall ¶
func (fake *FakeClearFoldersOSFileManager) RemoveReturnsOnCall(i int, result1 error)
type FakeDirEntry ¶
type FakeDirEntry struct { InfoStub func() (fs.FileInfo, error) IsDirStub func() bool NameStub func() string TypeStub func() fs.FileMode // contains filtered or unexported fields }
func (*FakeDirEntry) InfoCallCount ¶
func (fake *FakeDirEntry) InfoCallCount() int
func (*FakeDirEntry) InfoCalls ¶
func (fake *FakeDirEntry) InfoCalls(stub func() (fs.FileInfo, error))
func (*FakeDirEntry) InfoReturns ¶
func (fake *FakeDirEntry) InfoReturns(result1 fs.FileInfo, result2 error)
func (*FakeDirEntry) InfoReturnsOnCall ¶
func (fake *FakeDirEntry) InfoReturnsOnCall(i int, result1 fs.FileInfo, result2 error)
func (*FakeDirEntry) Invocations ¶
func (fake *FakeDirEntry) Invocations() map[string][][]interface{}
func (*FakeDirEntry) IsDir ¶
func (fake *FakeDirEntry) IsDir() bool
func (*FakeDirEntry) IsDirCallCount ¶
func (fake *FakeDirEntry) IsDirCallCount() int
func (*FakeDirEntry) IsDirCalls ¶
func (fake *FakeDirEntry) IsDirCalls(stub func() bool)
func (*FakeDirEntry) IsDirReturns ¶
func (fake *FakeDirEntry) IsDirReturns(result1 bool)
func (*FakeDirEntry) IsDirReturnsOnCall ¶
func (fake *FakeDirEntry) IsDirReturnsOnCall(i int, result1 bool)
func (*FakeDirEntry) Name ¶
func (fake *FakeDirEntry) Name() string
func (*FakeDirEntry) NameCallCount ¶
func (fake *FakeDirEntry) NameCallCount() int
func (*FakeDirEntry) NameCalls ¶
func (fake *FakeDirEntry) NameCalls(stub func() string)
func (*FakeDirEntry) NameReturns ¶
func (fake *FakeDirEntry) NameReturns(result1 string)
func (*FakeDirEntry) NameReturnsOnCall ¶
func (fake *FakeDirEntry) NameReturnsOnCall(i int, result1 string)
func (*FakeDirEntry) Type ¶
func (fake *FakeDirEntry) Type() fs.FileMode
func (*FakeDirEntry) TypeCallCount ¶
func (fake *FakeDirEntry) TypeCallCount() int
func (*FakeDirEntry) TypeCalls ¶
func (fake *FakeDirEntry) TypeCalls(stub func() fs.FileMode)
func (*FakeDirEntry) TypeReturns ¶
func (fake *FakeDirEntry) TypeReturns(result1 fs.FileMode)
func (*FakeDirEntry) TypeReturnsOnCall ¶
func (fake *FakeDirEntry) TypeReturnsOnCall(i int, result1 fs.FileMode)
type FakeManager ¶
type FakeManager struct { ReplaceFilesStub func([]file.File) error // contains filtered or unexported fields }
func (*FakeManager) Invocations ¶
func (fake *FakeManager) Invocations() map[string][][]interface{}
func (*FakeManager) ReplaceFiles ¶
func (fake *FakeManager) ReplaceFiles(arg1 []file.File) error
func (*FakeManager) ReplaceFilesArgsForCall ¶
func (fake *FakeManager) ReplaceFilesArgsForCall(i int) []file.File
func (*FakeManager) ReplaceFilesCallCount ¶
func (fake *FakeManager) ReplaceFilesCallCount() int
func (*FakeManager) ReplaceFilesCalls ¶
func (fake *FakeManager) ReplaceFilesCalls(stub func([]file.File) error)
func (*FakeManager) ReplaceFilesReturns ¶
func (fake *FakeManager) ReplaceFilesReturns(result1 error)
func (*FakeManager) ReplaceFilesReturnsOnCall ¶
func (fake *FakeManager) ReplaceFilesReturnsOnCall(i int, result1 error)
type FakeOSFileManager ¶
type FakeOSFileManager struct { ChmodStub func(*os.File, os.FileMode) error CreateStub func(string) (*os.File, error) ReadDirStub func(string) ([]fs.DirEntry, error) RemoveStub func(string) error WriteStub func(*os.File, []byte) error // contains filtered or unexported fields }
func (*FakeOSFileManager) ChmodArgsForCall ¶
func (*FakeOSFileManager) ChmodCallCount ¶
func (fake *FakeOSFileManager) ChmodCallCount() int
func (*FakeOSFileManager) ChmodCalls ¶
func (*FakeOSFileManager) ChmodReturns ¶
func (fake *FakeOSFileManager) ChmodReturns(result1 error)
func (*FakeOSFileManager) ChmodReturnsOnCall ¶
func (fake *FakeOSFileManager) ChmodReturnsOnCall(i int, result1 error)
func (*FakeOSFileManager) Create ¶
func (fake *FakeOSFileManager) Create(arg1 string) (*os.File, error)
func (*FakeOSFileManager) CreateArgsForCall ¶
func (fake *FakeOSFileManager) CreateArgsForCall(i int) string
func (*FakeOSFileManager) CreateCallCount ¶
func (fake *FakeOSFileManager) CreateCallCount() int
func (*FakeOSFileManager) CreateCalls ¶
func (fake *FakeOSFileManager) CreateCalls(stub func(string) (*os.File, error))
func (*FakeOSFileManager) CreateReturns ¶
func (fake *FakeOSFileManager) CreateReturns(result1 *os.File, result2 error)
func (*FakeOSFileManager) CreateReturnsOnCall ¶
func (fake *FakeOSFileManager) CreateReturnsOnCall(i int, result1 *os.File, result2 error)
func (*FakeOSFileManager) Invocations ¶
func (fake *FakeOSFileManager) Invocations() map[string][][]interface{}
func (*FakeOSFileManager) ReadDir ¶
func (fake *FakeOSFileManager) ReadDir(arg1 string) ([]fs.DirEntry, error)
func (*FakeOSFileManager) ReadDirArgsForCall ¶
func (fake *FakeOSFileManager) ReadDirArgsForCall(i int) string
func (*FakeOSFileManager) ReadDirCallCount ¶
func (fake *FakeOSFileManager) ReadDirCallCount() int
func (*FakeOSFileManager) ReadDirCalls ¶
func (fake *FakeOSFileManager) ReadDirCalls(stub func(string) ([]fs.DirEntry, error))
func (*FakeOSFileManager) ReadDirReturns ¶
func (fake *FakeOSFileManager) ReadDirReturns(result1 []fs.DirEntry, result2 error)
func (*FakeOSFileManager) ReadDirReturnsOnCall ¶
func (fake *FakeOSFileManager) ReadDirReturnsOnCall(i int, result1 []fs.DirEntry, result2 error)
func (*FakeOSFileManager) Remove ¶
func (fake *FakeOSFileManager) Remove(arg1 string) error
func (*FakeOSFileManager) RemoveArgsForCall ¶
func (fake *FakeOSFileManager) RemoveArgsForCall(i int) string
func (*FakeOSFileManager) RemoveCallCount ¶
func (fake *FakeOSFileManager) RemoveCallCount() int
func (*FakeOSFileManager) RemoveCalls ¶
func (fake *FakeOSFileManager) RemoveCalls(stub func(string) error)
func (*FakeOSFileManager) RemoveReturns ¶
func (fake *FakeOSFileManager) RemoveReturns(result1 error)
func (*FakeOSFileManager) RemoveReturnsOnCall ¶
func (fake *FakeOSFileManager) RemoveReturnsOnCall(i int, result1 error)
func (*FakeOSFileManager) Write ¶
func (fake *FakeOSFileManager) Write(arg1 *os.File, arg2 []byte) error
func (*FakeOSFileManager) WriteArgsForCall ¶
func (fake *FakeOSFileManager) WriteArgsForCall(i int) (*os.File, []byte)
func (*FakeOSFileManager) WriteCallCount ¶
func (fake *FakeOSFileManager) WriteCallCount() int
func (*FakeOSFileManager) WriteCalls ¶
func (fake *FakeOSFileManager) WriteCalls(stub func(*os.File, []byte) error)
func (*FakeOSFileManager) WriteReturns ¶
func (fake *FakeOSFileManager) WriteReturns(result1 error)
func (*FakeOSFileManager) WriteReturnsOnCall ¶
func (fake *FakeOSFileManager) WriteReturnsOnCall(i int, result1 error)
Click to show internal directories.
Click to hide internal directories.