tarfs

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2024 License: MPL-2.0 Imports: 8 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 Open

func Open(ra io.ReaderAt) (*FS, error)

func (*FS) Open

func (fsys *FS) Open(name string) (fs.File, error)

func (*FS) ReadDir

func (fsys *FS) ReadDir(name string) ([]fs.DirEntry, error)
func (fsys *FS) ReadLink(name string) (string, error)

ReadLink returns the destination of the named symbolic link. Experimental implementation of fs.ReadLinkFS: https://github.com/golang/go/issues/49580

func (*FS) Stat

func (fsys *FS) Stat(name string) (fs.FileInfo, error)
func (fsys *FS) StatLink(name string) (fs.FileInfo, error)

StatLink returns a FileInfo describing the file without following any symbolic links. Experimental implementation of fs.ReadLinkFS: https://github.com/golang/go/issues/49580

Jump to

Keyboard shortcuts

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