Documentation
¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type Fake
- func (fake *Fake) Invocations() map[string][][]interface{}
- func (fake *Fake) OS(srcPath string, dstPath string) (err error)
- func (fake *Fake) OSArgsForCall(i int) (string, string)
- func (fake *Fake) OSCallCount() int
- func (fake *Fake) OSReturns(result1 error)
- func (fake *Fake) OSReturnsOnCall(i int, result1 error)
- type FileCopier
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fake ¶
type Fake struct {
OSStub func(srcPath string, dstPath string) (err error)
// contains filtered or unexported fields
}
func (*Fake) Invocations ¶
func (*Fake) OSCallCount ¶
func (*Fake) OSReturnsOnCall ¶
type FileCopier ¶
type FileCopier interface {
// copies an OS file from srcPath to dstPath. Creates or overwrites the destination as needed.
OS(srcPath string, dstPath string) (err error)
}
func New ¶
func New() FileCopier
Click to show internal directories.
Click to hide internal directories.