local

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileInfo

type FileInfo struct {
	fs.FileInfo
	// contains filtered or unexported fields
}

func NewFileInfo

func NewFileInfo(fi fs.FileInfo, opts ...Option) *FileInfo

func (FileInfo) Dir

func (f FileInfo) Dir() string

func (FileInfo) ETag

func (f FileInfo) ETag() string

func (FileInfo) ModTime

func (f FileInfo) ModTime() time.Time

func (FileInfo) Path

func (f FileInfo) Path() string

func (FileInfo) String

func (f FileInfo) String() string

type Option

type Option func(*FileInfo)

func WithEtag

func WithEtag(etag string) Option

func WithPath

func WithPath(path string) Option

Jump to

Keyboard shortcuts

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