mocks

package
v0.0.0-...-613c932 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 20, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FS

type FS struct {
	mock.Mock
}

FS is an autogenerated mock type for the FS type

func (*FS) Getwd

func (_m *FS) Getwd() (string, error)

Getwd provides a mock function with given fields:

func (*FS) Remove

func (_m *FS) Remove(filepath string) error

Remove provides a mock function with given fields: filepath

func (*FS) RemoveAll

func (_m *FS) RemoveAll(filepath string) error

RemoveAll provides a mock function with given fields: filepath

func (*FS) Stat

func (_m *FS) Stat(filepath string, recursive bool) (*fs.FileStat, error)

Stat provides a mock function with given fields: filepath, recursive

type Walker

type Walker struct {
	mock.Mock
}

Walker is an autogenerated mock type for the Walker type

func (*Walker) Walk

func (_m *Walker) Walk(path string, callback walker.WalkFunc, errCallback walker.WalkErrFunc) error

Walk provides a mock function with given fields: path, callback, errCallback

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL