cachedvfs

package
v0.0.0-...-a4721f4 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2025 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 FS

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

func From

func From(fs vfs.FS) *FS

func (*FS) ClearCache

func (fsys *FS) ClearCache()

func (*FS) DirectoryExists

func (fsys *FS) DirectoryExists(path string) bool

func (*FS) FileExists

func (fsys *FS) FileExists(path string) bool

func (*FS) GetAccessibleEntries

func (fsys *FS) GetAccessibleEntries(path string) vfs.Entries

func (*FS) ReadFile

func (fsys *FS) ReadFile(path string) (contents string, ok bool)

func (*FS) Realpath

func (fsys *FS) Realpath(path string) string

func (*FS) Remove

func (fsys *FS) Remove(path string) error

func (*FS) Stat

func (fsys *FS) Stat(path string) vfs.FileInfo

func (*FS) UseCaseSensitiveFileNames

func (fsys *FS) UseCaseSensitiveFileNames() bool

func (*FS) WalkDir

func (fsys *FS) WalkDir(root string, walkFn vfs.WalkDirFunc) error

func (*FS) WriteFile

func (fsys *FS) WriteFile(path string, data string, writeByteOrderMark bool) error

Jump to

Keyboard shortcuts

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