Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHostsDir ¶
NewHostsDir returns a new directory containing hostnames, which in turn contains snapshots of a single host each.
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 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.
func NewSnapshotsDir ¶
func NewSnapshotsDir(root *Root, inode uint64, snapshots restic.Snapshots) *SnapshotsDir
NewSnapshotsDir returns a new directory containing snapshots.
func (*SnapshotsDir) ReadDirAll ¶
ReadDirAll returns all entries of the root node.
Click to show internal directories.
Click to hide internal directories.