fs

package
v0.0.0-...-4b497b0 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2014 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MemUnionFs

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

A unionfs that only uses on-disk backing store for file contents.

func NewMemUnionFs

func NewMemUnionFs(backingStore string, roFs pathfs.FileSystem) (*MemUnionFs, error)

NewMemUnionFs instantiates a new union file system. Calling this will access the root of the supplied R/O filesystem.

func (*MemUnionFs) Reap

func (me *MemUnionFs) Reap() map[string]*Result

func (*MemUnionFs) Reset

func (me *MemUnionFs) Reset()

Reset drops the state of the filesystem back its original.

func (*MemUnionFs) Root

func (me *MemUnionFs) Root() nodefs.Node

func (*MemUnionFs) Update

func (me *MemUnionFs) Update(results map[string]*Result)

type Result

type Result struct {
	*fuse.Attr
	Original string
	Backing  string
	Link     string
}

Jump to

Keyboard shortcuts

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