fs

package
v0.0.0-...-10d000d Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2013 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CamliFileSystem

type CamliFileSystem struct {

	// IgnoreOwners, if true, collapses all file ownership to the
	// uid/gid running the fuse filesystem, and sets all the
	// permissions to 0600/0700.
	IgnoreOwners bool
	// contains filtered or unexported fields
}

func NewCamliFileSystem

func NewCamliFileSystem(client *client.Client, fetcher blobref.SeekFetcher) *CamliFileSystem

NewCamliFileSystem returns a filesystem with a generic base, from which users can navigate by blobref, tag, date, etc.

func NewRootedCamliFileSystem

func NewRootedCamliFileSystem(fetcher blobref.SeekFetcher, root *blobref.BlobRef) (*CamliFileSystem, error)

NewRootedCamliFileSystem returns a CamliFileSystem with root as its base.

func (*CamliFileSystem) Root

func (fs *CamliFileSystem) Root() (fuse.Node, fuse.Error)

func (*CamliFileSystem) Statfs

func (fs *CamliFileSystem) Statfs(req *fuse.StatfsRequest, res *fuse.StatfsResponse, intr fuse.Intr) fuse.Error

Jump to

Keyboard shortcuts

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