package
2.0.9+incompatible
Repository: https://github.com/threefoldtech/0-fs.git
Documentation: pkg.go.dev

# Functions

Layered return a meta store that layer the given stores in a way that last store is on top Example: store = Layered(s1, s2) store.Get(p) will search s2 first, then s1.
NewStore creates a new meta store with path p.
Unpack decrompress and unpack a tgz (flist) archive from r to dest folder dest is created is it doesn't exist.

# Constants

AccessCacheSize defines the size of the LRU cache for ACL.
NodeType enum values.
NodeType enum values.
DirCacheSize defines the size of the LRU cache for the directories.
NodeType enum values.
NodeType enum values.
NodeType enum values.
NodeType enum values.
NodeType enum values.
SQLiteDBName is the name of the sqlite3 database stored in an flist.
TraverseLimit capnp message traverse limit.
NodeType enum values.

# Variables

DefaultAccess fallback.
ErrNotFound in case of an entry miss.
ErrSkipDir if returned by the WalkFn the directory is skipped.

# Structs

Access is the ACL of a file.
BlockInfo is the information needed to retrieve and decrypt a data block.
Dir represents a dir inode.
File represents a file inode.
Info is the metadata of a file.
Link is a inode struct representing a link in the filesystem.
Special is the information for a special file in the filesystem.

# Interfaces

Meta is an interface that can be implemented by any type that needs to be used as metadata store for the filesystem.
Store is the interface to implement to read filesystem metadata from an flist.
Walker interface, some stores can implement this interface.

# Type aliases

NodeType is the enum for all different file types.
WalkFn walk function.