Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlobSizeCache ¶
type BlobSizeCache struct {
// contains filtered or unexported fields
}
BlobSizeCache caches the size of blobs in the repo.
func NewBlobSizeCache ¶
func NewBlobSizeCache(ctx context.Context, idx restic.Index) *BlobSizeCache
NewBlobSizeCache returns a new blob size cache containing all entries from midx.
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 ¶ added in v0.8.0
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 ¶ added in v0.8.0
type SnapshotsIDSDir struct {
// contains filtered or unexported fields
}
SnapshotsIDSDir is a fuse directory which contains snapshots named by ids.
func NewSnapshotsIDSDir ¶ added in v0.8.0
func NewSnapshotsIDSDir(root *Root, inode uint64) *SnapshotsIDSDir
NewSnapshotsIDSDir returns a new directory containing snapshots named by ids.
func (*SnapshotsIDSDir) Lookup ¶ added in v0.8.0
Lookup returns a specific entry from the SnapshotsIDSDir.
func (*SnapshotsIDSDir) ReadDirAll ¶ added in v0.8.0
ReadDirAll returns all entries of the SnapshotsIDSDir.
type TagsDir ¶ added in v0.8.0
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