camlistore: github.com/rfistman/camlistore/pkg/fs Index | Files

package fs

import "github.com/rfistman/camlistore/pkg/fs"

Package fs implements a FUSE filesystem for Camlistore and is used by the cammount binary.

Index

Package Files

at.go debug.go fs.go mut.go recent.go ro.go root.go roots.go time.go util.go xattr.go

Variables

var TrackStats bool

If TrackStats is true, statistics are kept on operations.

func Unmount Uses

func Unmount(point string) error

Unmount attempts to unmount the provided FUSE mount point, forcibly if necessary.

type CamliFileSystem Uses

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 NewDefaultCamliFileSystem Uses

func NewDefaultCamliFileSystem(client *client.Client, fetcher blob.Fetcher) *CamliFileSystem

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

func NewRootedCamliFileSystem Uses

func NewRootedCamliFileSystem(cli *client.Client, fetcher blob.Fetcher, root blob.Ref) (*CamliFileSystem, error)

NewRootedCamliFileSystem returns a CamliFileSystem with a node based on a blobref as its base.

func (*CamliFileSystem) Root Uses

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

func (*CamliFileSystem) Statfs Uses

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

Package fs imports 27 packages (graph). Updated 2018-04-14. Refresh now. Tools for package owners.