Added FileSystem.Destroy.

geesefs-0-30-9
Aaron Jacobs 2015-06-05 13:51:27 +10:00
parent c9c4a456b1
commit 6fff9f3f20
1 changed files with 5 additions and 0 deletions

View File

@ -60,6 +60,11 @@ type FileSystem interface {
FlushFile(*fuseops.FlushFileOp) error
ReleaseFileHandle(*fuseops.ReleaseFileHandleOp) error
ReadSymlink(*fuseops.ReadSymlinkOp) error
// Regard all inodes (including the root inode) as having their lookup counts
// decremented to zero, and clean up any resources associated with the file
// system. No further calls to the file system will be made.
Destroy()
}
// Create a fuse.Server that handles ops by calling the associated FileSystem