Documentation
¶
Index ¶
- Constants
- func NewCASAPI(fs FS) casfuse.API
- type CASApi
- func (*CASApi) CreateControl(ctx context.Context, inode casfuse.Inode, directory string) error
- func (c *CASApi) CreateGit(ctx context.Context, inode casfuse.Inode, directory, head string) error
- func (*CASApi) CreateGitObjects(ctx context.Context, inode casfuse.Inode, directory string) error
- func (*CASApi) CreateRamfs(ctx context.Context, inode casfuse.Inode, directory string) error
- func (*CASApi) Debug(inode casfuse.Inode) (bool, error)
- func (*CASApi) DirList(ctx context.Context, inode casfuse.Inode) (hash.Hash, error)
- func (*CASApi) Dirty(inode casfuse.Inode) (bool, error)
- func (*CASApi) Excluded(inode casfuse.Inode) (bool, error)
- func (*CASApi) Hash(ctx context.Context, inode casfuse.Inode) (hash.Hash, error)
- func (*CASApi) HashSize(ctx context.Context, inode casfuse.Inode) (hash.Hash, int64, error)
- func (*CASApi) HashStat(ctx context.Context, inode casfuse.Inode) (*fs.HashStat, error)
- func (*CASApi) Loaded(inode casfuse.Inode) (bool, error)
- func (*CASApi) SetDebug(inode casfuse.Inode, val bool) error
- func (*CASApi) SetDeepTree(inode casfuse.Inode, hash hash.Hash) error
- func (*CASApi) SetExcluded(inode casfuse.Inode, val bool) error
- func (*CASApi) SetHash(inode casfuse.Inode, hash hash.Hash) error
- func (*CASApi) SetHashSize(inode casfuse.Inode, hash hash.Hash, size int64) error
- func (c *CASApi) Status() (*fs.Status, error)
- func (*CASApi) Type(inode casfuse.Inode) cas.FileMode
- type DirNode
- type FS
- type Node
- type Xattr
Constants ¶
View Source
const ( XattrDebug = "debug" XattrDiags = "diags" XattrType = "type" XattrFsStatus = "fs_status" XattrHash = "hash" XattrHashSize = "hash_size" XattrHashStat = "hash_stat" XattrDirListHash = "dir_list_hash" XattrDeepTree = "deeptree" XattrLoaded = "loaded" XattrDirty = "dirty" XattrExclude = "exclude" XattrCtrl = "ctrl" )
Handle all xattr interfaces here, in the future these could be seperated out with registered handlers
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CASApi ¶
type CASApi struct {
// contains filtered or unexported fields
}
func (*CASApi) CreateControl ¶
func (*CASApi) CreateGitObjects ¶
func (*CASApi) CreateRamfs ¶
func (*CASApi) SetHashSize ¶
Click to show internal directories.
Click to hide internal directories.