mocks

package
v0.0.0-...-955c50f Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileSystem

type FileSystem struct {
	mock.Mock
}

FileSystem is an autogenerated mock type for the FileSystem type

func (*FileSystem) AppendToFile

func (_m *FileSystem) AppendToFile(filename string, content string, perm os.FileMode) error

AppendToFile provides a mock function with given fields: filename, content, perm

func (*FileSystem) DeleteFile

func (_m *FileSystem) DeleteFile(filename string) error

DeleteFile provides a mock function with given fields: filename

func (*FileSystem) IsNotExist

func (_m *FileSystem) IsNotExist(err error) bool

IsNotExist provides a mock function with given fields: err

func (*FileSystem) MkdirAll

func (_m *FileSystem) MkdirAll(path string, perm os.FileMode) error

MkdirAll provides a mock function with given fields: path, perm

func (*FileSystem) ReadDir

func (_m *FileSystem) ReadDir(path string) ([]os.FileInfo, error)

ReadDir provides a mock function with given fields: path

func (*FileSystem) ReadFile

func (_m *FileSystem) ReadFile(filename string) ([]byte, error)

ReadFile provides a mock function with given fields: filename

func (*FileSystem) Stat

func (_m *FileSystem) Stat(name string) (os.FileInfo, error)

Stat provides a mock function with given fields: name

func (*FileSystem) WriteFile

func (_m *FileSystem) WriteFile(filename string, data []byte, perm os.FileMode) error

WriteFile provides a mock function with given fields: filename, data, perm

Jump to

Keyboard shortcuts

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