entrymock

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entry

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

func Dir

func Dir(path string) Entry

func File

func File(path string) Entry

func NewEntryMock

func NewEntryMock(path string, isDir bool) Entry

func (Entry) IsDir

func (e Entry) IsDir() bool

func (Entry) ModTime

func (e Entry) ModTime() time.Time

func (Entry) Mode

func (e Entry) Mode() fs.FileMode

func (Entry) Name

func (e Entry) Name() string

func (Entry) Path

func (e Entry) Path() string

func (Entry) Size

func (e Entry) Size() int64

func (Entry) Sys

func (e Entry) Sys() any

Jump to

Keyboard shortcuts

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