mock_os

package
v3.0.0-pre-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_os is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockFileInfo

type MockFileInfo struct {
	// contains filtered or unexported fields
}

MockFileInfo is a mock of FileInfo interface.

func NewMockFileInfo

func NewMockFileInfo(ctrl *gomock.Controller) *MockFileInfo

NewMockFileInfo creates a new mock instance.

func (*MockFileInfo) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockFileInfo) IsDir

func (m *MockFileInfo) IsDir() bool

IsDir mocks base method.

func (*MockFileInfo) ModTime

func (m *MockFileInfo) ModTime() time.Time

ModTime mocks base method.

func (*MockFileInfo) Mode

func (m *MockFileInfo) Mode() fs.FileMode

Mode mocks base method.

func (*MockFileInfo) Name

func (m *MockFileInfo) Name() string

Name mocks base method.

func (*MockFileInfo) Size

func (m *MockFileInfo) Size() int64

Size mocks base method.

func (*MockFileInfo) Sys

func (m *MockFileInfo) Sys() any

Sys mocks base method.

type MockFileInfoMockRecorder

type MockFileInfoMockRecorder struct {
	// contains filtered or unexported fields
}

MockFileInfoMockRecorder is the mock recorder for MockFileInfo.

func (*MockFileInfoMockRecorder) IsDir

func (mr *MockFileInfoMockRecorder) IsDir() *gomock.Call

IsDir indicates an expected call of IsDir.

func (*MockFileInfoMockRecorder) ModTime

func (mr *MockFileInfoMockRecorder) ModTime() *gomock.Call

ModTime indicates an expected call of ModTime.

func (*MockFileInfoMockRecorder) Mode

func (mr *MockFileInfoMockRecorder) Mode() *gomock.Call

Mode indicates an expected call of Mode.

func (*MockFileInfoMockRecorder) Name

func (mr *MockFileInfoMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name.

func (*MockFileInfoMockRecorder) Size

func (mr *MockFileInfoMockRecorder) Size() *gomock.Call

Size indicates an expected call of Size.

func (*MockFileInfoMockRecorder) Sys

Sys indicates an expected call of Sys.

Jump to

Keyboard shortcuts

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