Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFileSystem ¶
func NewFileSystem( reportFlush func(string) error, reportFsync func(string) error) (server fuse.Server, err error)
Create a file system whose sole contents are a file named "foo" and a directory named "bar".
The file may be opened for reading and/or writing. Its initial contents are empty. Whenever a flush or fsync is received, the supplied function will be called with the current contents of the file and its status returned.
The directory cannot be modified.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.