filesystem

package
v0.0.0-...-2fac726 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2015 License: MIT Imports: 12 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloneFile

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

CloneFile issues the next available connection for use.

func (*CloneFile) Attr

func (f *CloneFile) Attr() fuse.Attr

func (*CloneFile) Open

func (f *CloneFile) Open(req *fuse.OpenRequest, resp *fuse.OpenResponse,
	intr fs.Intr) (fs.Handle, fuse.Error)

type ControlFile

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

ControlFile wraps around a []byte, doing syntax checking on write.

func (*ControlFile) Attr

func (f *ControlFile) Attr() fuse.Attr

func (*ControlFile) Fsync

func (f *ControlFile) Fsync(req *fuse.FsyncRequest, intr fs.Intr) fuse.Error

func (*ControlFile) Open

func (f *ControlFile) Open(req *fuse.OpenRequest, resp *fuse.OpenResponse,
	intr fs.Intr) (fs.Handle, fuse.Error)

type FS

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

func NewFS

func NewFS() *FS

func (*FS) Root

func (f *FS) Root() (fs.Node, fuse.Error)

type ResourceDir

type ResourceDir struct {
	sync.Mutex
	// contains filtered or unexported fields
}

ResourceDir represents an HTTP API resource directory.

func (*ResourceDir) Attr

func (d *ResourceDir) Attr() fuse.Attr

func (*ResourceDir) Lookup

func (d *ResourceDir) Lookup(name string, intr fs.Intr) (fs.Node, fuse.Error)

func (*ResourceDir) Mkdir

func (d *ResourceDir) Mkdir(req *fuse.MkdirRequest, intr fs.Intr) (fs.Node, fuse.Error)

func (*ResourceDir) ReadDir

func (d *ResourceDir) ReadDir(intr fs.Intr) ([]fuse.Dirent, fuse.Error)

type RootDir

type RootDir struct {
	sync.Mutex
	// contains filtered or unexported fields
}

RootDir represents the root directory of api-fs.

func (*RootDir) Attr

func (d *RootDir) Attr() fuse.Attr

func (*RootDir) Lookup

func (d *RootDir) Lookup(name string, intr fs.Intr) (fs.Node, fuse.Error)

func (*RootDir) Mkdir

func (d *RootDir) Mkdir(req *fuse.MkdirRequest, intr fs.Intr) (fs.Node, fuse.Error)

func (*RootDir) ReadDir

func (d *RootDir) ReadDir(intr fs.Intr) ([]fuse.Dirent, fuse.Error)

Jump to

Keyboard shortcuts

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