wrapfs

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2024 License: MIT Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FS

type FS struct {
	FS   iofs.FS
	Base path.Local
}

func New

func New(fsys iofs.FS, base path.Absolute) (*FS, error)

func (*FS) Abs

func (w *FS) Abs(r path.Relative) path.Absolute

func (*FS) Exists

func (l *FS) Exists(name path.Relative) bool

func (*FS) GetMode

func (d *FS) GetMode(name path.Relative) (iofs.FileMode, error)

func (*FS) ModTime

func (l *FS) ModTime(p path.Relative) (t time.Time, err error)

func (*FS) Reader

func (w *FS) Reader(p path.Relative) (io.ReadCloser, error)

func (*FS) Size

func (l *FS) Size(p path.Relative) int64

Jump to

Keyboard shortcuts

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