# README
This is a goinstall-able mirror of modified code already published at: https://git.nic.cz/redmine/projects/gofileutil/repository/show/storage
Install: $go get modernc.org/fileutil/storage Godocs: http://gopkgdoc.appspot.com/pkg/modernc.org/fileutil/storage
# Functions
LockedMutate wraps Mutate in yet another layer consisting of a l.Lock/l.Unlock pair.
Mutate is a helper/wrapper for executing f in between a.BeginUpdate and a.EndUpdate.
NewCache creates a caching Accessor from store with total of maxcache bytes.
NewFile returns an Accessor backed by an os.File named name, It opens the named file with specified flag (os.O_RDWR etc.) and perm, (0666 etc.) if applicable.
NewFileInfo creates FileInfo from os.FileInfo fi.
NewMem returns a new Accessor backed by an os.File.
NewProbe returns a newly created probe which embedes the src Accessor.
OpenFile returns an Accessor backed by an existing os.File named name, It opens the named file with specified flag (os.O_RDWR etc.) and perm, (0666 etc.) if applicable.
OpenMem return a new Accessor backed by an os.File.
# Structs
Cache provides caching support for another store Accessor.
FileAccessor is the concrete type returned by NewFile and OpenFile.
FileInfo is a type implementing os.FileInfo which has setable fields, like the older os.FileInfo used to have.
Probe collects usage statistics of the embeded Accessor.
# Interfaces
Accessor provides I/O methods to access a store.