flushFS.Init

geesefs-0-30-9
Aaron Jacobs 2015-03-20 11:22:16 +11:00
parent e1375f33da
commit 20b5ac7634
1 changed files with 9 additions and 0 deletions

View File

@ -17,6 +17,7 @@ package flushfs
import (
"github.com/jacobsa/fuse"
"github.com/jacobsa/fuse/fuseutil"
"golang.org/x/net/context"
)
// Create a file system containing a single file named "foo".
@ -34,3 +35,11 @@ func NewFileSystem(
type flushFS struct {
fuseutil.NotImplementedFileSystem
}
func (fs *flushFS) Init(
ctx context.Context,
req *fuse.InitRequest) (
resp *fuse.InitResponse, err error) {
resp = &fuse.InitResponse{}
return
}