fs

package
v0.0.0-...-cffa139 Latest Latest
Warning

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

Go to latest
Published: May 29, 2015 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Volume

type Volume struct {
	// contains filtered or unexported fields
}

func Open

func Open(db *db.DB, chunkStore chunks.Store, volumeID *db.VolumeID) (*Volume, error)

Open returns a FUSE filesystem instance serving content from the given volume. The result can be passed to bazil.org/fuse/fs#Serve to start serving file access requests from the kernel.

Caller guarantees volume ID exists at least as long as requests are served for this file system.

func (*Volume) GenerateInode

func (*Volume) GenerateInode(parent uint64, name string) uint64

func (*Volume) Init

func (f *Volume) Init(ctx context.Context, req *fuse.InitRequest, resp *fuse.InitResponse) error

func (*Volume) Root

func (v *Volume) Root() (fs.Node, error)

Directories

Path Synopsis
Package inodes contains the logic for allocating inode numbers.
Package inodes contains the logic for allocating inode numbers.
wire
Package wire is a generated protocol buffer package.
Package wire is a generated protocol buffer package.
Package wire is a generated protocol buffer package.
Package wire is a generated protocol buffer package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL