mocks

package
v0.12.2 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 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 FileInfo added in v0.6.0

type FileInfo struct {
	mock.Mock
}

FileInfo is an autogenerated mock type for the FileInfo type

func NewFileInfo added in v0.6.0

func NewFileInfo(t mockConstructorTestingTNewFileInfo) *FileInfo

NewFileInfo creates a new instance of FileInfo. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*FileInfo) IsDir added in v0.6.0

func (_m *FileInfo) IsDir() bool

IsDir provides a mock function with given fields:

func (*FileInfo) ModTime added in v0.6.0

func (_m *FileInfo) ModTime() time.Time

ModTime provides a mock function with given fields:

func (*FileInfo) Mode added in v0.6.0

func (_m *FileInfo) Mode() fs.FileMode

Mode provides a mock function with given fields:

func (*FileInfo) Name added in v0.6.0

func (_m *FileInfo) Name() string

Name provides a mock function with given fields:

func (*FileInfo) Size added in v0.6.0

func (_m *FileInfo) Size() int64

Size provides a mock function with given fields:

func (*FileInfo) Sys added in v0.6.0

func (_m *FileInfo) Sys() interface{}

Sys provides a mock function with given fields:

Jump to

Keyboard shortcuts

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