vfs

package
v0.4.21-alpha Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: ISC Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const VERSION = "0.2.0"

Variables

This section is empty.

Functions

This section is empty.

Types

type Filesystem

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

func FromBytes

func FromBytes(data []byte) (*Filesystem, error)

func NewFilesystem

func NewFilesystem() (*Filesystem, error)

func (*Filesystem) Checksum

func (fsc *Filesystem) Checksum() []byte

func (*Filesystem) Children

func (fsc *Filesystem) Children(path string) (<-chan string, error)

func (*Filesystem) Close

func (fsc *Filesystem) Close() error

func (*Filesystem) Directories

func (fsc *Filesystem) Directories() <-chan string

func (*Filesystem) Files

func (fsc *Filesystem) Files() <-chan string

func (*Filesystem) Pathnames

func (fsc *Filesystem) Pathnames() <-chan string
func (fsc *Filesystem) Readlink(path string) (string, error)

func (*Filesystem) Record

func (fsc *Filesystem) Record(path string, fileinfo objects.FileInfo) error
func (fsc *Filesystem) RecordLink(path string, target string, fileinfo objects.FileInfo) error

func (*Filesystem) Serialize

func (fsc *Filesystem) Serialize() ([]byte, error)

func (*Filesystem) Stat

func (fsc *Filesystem) Stat(path string) (*objects.FileInfo, error)

Jump to

Keyboard shortcuts

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