diff --git a/samples/memfs/fs.go b/samples/memfs/fs.go index 95524b6..04ebc6e 100644 --- a/samples/memfs/fs.go +++ b/samples/memfs/fs.go @@ -8,6 +8,7 @@ import ( "github.com/jacobsa/fuse/fuseutil" "github.com/jacobsa/gcloud/syncutil" "github.com/jacobsa/gcsfuse/timeutil" + "golang.org/x/net/context" ) type memFS struct { @@ -56,3 +57,10 @@ func NewMemFS( func (fs *memFS) checkInvariants() { panic("TODO") } + +func (fs *memFS) Init( + ctx context.Context, + req *fuse.InitRequest) (resp *fuse.InitResponse, err error) { + resp = &fuse.InitResponse{} + return +}