Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { OwnerIsRoot bool Hosts []string Tags []restic.TagList Paths []string SnapshotTemplate string }
Config holds settings for the fuse mount.
type HostsDir ¶
type HostsDir struct {
// contains filtered or unexported fields
}
HostsDir is a fuse directory which contains hosts.
func NewHostsDir ¶
NewHostsDir returns a new directory containing host names
type MetaDir ¶
type MetaDir struct {
// contains filtered or unexported fields
}
MetaDir is a fuse directory which contains other directories.
func NewMetaDir ¶
NewMetaDir returns a new meta dir.
type Root ¶
type Root struct { *MetaDir // contains filtered or unexported fields }
Root is the root node of the fuse mount of a repository.
type SnapshotsDir ¶
type SnapshotsDir struct {
// contains filtered or unexported fields
}
SnapshotsDir is a fuse directory which contains snapshots named by timestamp.
func NewSnapshotsDir ¶
func NewSnapshotsDir(root *Root, inode uint64, tag string, host string) *SnapshotsDir
NewSnapshotsDir returns a new directory containing snapshots.
func (*SnapshotsDir) ReadDirAll ¶
ReadDirAll returns all entries of the SnapshotsDir.
type SnapshotsIDSDir ¶
type SnapshotsIDSDir struct {
// contains filtered or unexported fields
}
SnapshotsIDSDir is a fuse directory which contains snapshots named by ids.
func NewSnapshotsIDSDir ¶
func NewSnapshotsIDSDir(root *Root, inode uint64) *SnapshotsIDSDir
NewSnapshotsIDSDir returns a new directory containing snapshots named by ids.
func (*SnapshotsIDSDir) ReadDirAll ¶
ReadDirAll returns all entries of the SnapshotsIDSDir.
type TagsDir ¶
type TagsDir struct {
// contains filtered or unexported fields
}
TagsDir is a fuse directory which contains tags.
func NewTagsDir ¶
NewTagsDir returns a new directory containing tag names