Documentation ¶
Overview ¶
Package fs implements a FUSE filesystem for Camlistore and is used by the cammount binary.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TrackStats bool
If TrackStats is true, statistics are kept on operations.
Functions ¶
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 NewDefaultCamliFileSystem ¶
func NewDefaultCamliFileSystem(client *client.Client, fetcher blob.SeekFetcher) *CamliFileSystem
NewDefaultCamliFileSystem returns a filesystem with a generic base, from which users can navigate by blobref, tag, date, etc.
func NewRootedCamliFileSystem ¶
func NewRootedCamliFileSystem(cli *client.Client, fetcher blob.SeekFetcher, root blob.Ref) (*CamliFileSystem, error)
NewRootedCamliFileSystem returns a CamliFileSystem with a node based on a blobref as its base.
func (*CamliFileSystem) Statfs ¶
func (fs *CamliFileSystem) Statfs(req *fuse.StatfsRequest, res *fuse.StatfsResponse, intr fuse.Intr) fuse.Error
Click to show internal directories.
Click to hide internal directories.