Documentation ¶
Index ¶
- Constants
- type Filesystem
- func (fsc *Filesystem) Checksum() []byte
- func (fsc *Filesystem) Children(path string) (<-chan string, error)
- func (fsc *Filesystem) Close() error
- func (fsc *Filesystem) Directories() <-chan string
- func (fsc *Filesystem) Files() <-chan string
- func (fsc *Filesystem) Pathnames() <-chan string
- func (fsc *Filesystem) Readlink(path string) (string, error)
- func (fsc *Filesystem) Record(path string, fileinfo objects.FileInfo) error
- func (fsc *Filesystem) RecordLink(path string, target string, fileinfo objects.FileInfo) error
- func (fsc *Filesystem) Serialize() ([]byte, error)
- func (fsc *Filesystem) Stat(path string) (*objects.FileInfo, error)
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) 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 (*Filesystem) Record ¶
func (fsc *Filesystem) Record(path string, fileinfo objects.FileInfo) error
func (*Filesystem) RecordLink ¶
func (*Filesystem) Serialize ¶
func (fsc *Filesystem) Serialize() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.