From 070528d9e44d096b2bf76711f5b83d58f3f4c6c5 Mon Sep 17 00:00:00 2001 From: Aaron Jacobs Date: Fri, 27 Feb 2015 14:40:32 +1100 Subject: [PATCH] Implemented HelloFS.Init. --- samples/hello_fs.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/samples/hello_fs.go b/samples/hello_fs.go index 1354801..03067c5 100644 --- a/samples/hello_fs.go +++ b/samples/hello_fs.go @@ -124,6 +124,14 @@ func (fs *HelloFS) patchAttributes( attr.Crtime = now } +func (fs *HelloFS) Init( + ctx context.Context, + req *fuse.InitRequest) ( + resp *fuse.InitResponse, err error) { + resp = &fuse.InitResponse{} + return +} + func (fs *HelloFS) LookUpInode( ctx context.Context, req *fuse.LookUpInodeRequest) (