fuse

package
Version: v0.0.0-...-17ee6b1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 27, 2015 License: BSD-2-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlobLoader

type BlobLoader interface {
	LookupBlobSize(backend.ID) (uint, error)
	LoadBlob(pack.BlobType, backend.ID, []byte) ([]byte, error)
}

BlobLoader is an abstracted repository with a reduced set of methods used for fuse operations.

type SnapshotWithId

type SnapshotWithId struct {
	*restic.Snapshot
	backend.ID
}

type SnapshotsDir

type SnapshotsDir struct {

	// knownSnapshots maps snapshot timestamp to the snapshot
	sync.RWMutex
	// contains filtered or unexported fields
}

func NewSnapshotsDir

func NewSnapshotsDir(repo *repository.Repository, ownerIsRoot bool) *SnapshotsDir

func (*SnapshotsDir) Attr

func (sn *SnapshotsDir) Attr(ctx context.Context, attr *fuse.Attr) error

func (*SnapshotsDir) Lookup

func (sn *SnapshotsDir) Lookup(ctx context.Context, name string) (fs.Node, error)

func (*SnapshotsDir) ReadDirAll

func (sn *SnapshotsDir) ReadDirAll(ctx context.Context) ([]fuse.Dirent, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL