diff --git a/samples/hello_fs.go b/samples/hello_fs.go index a8e3a94..304baff 100644 --- a/samples/hello_fs.go +++ b/samples/hello_fs.go @@ -235,3 +235,11 @@ func (fs *HelloFS) ReadDir( return } + +func (fs *HelloFS) OpenFile( + ctx context.Context, + req *fuse.OpenFileRequest) (resp *fuse.OpenFileResponse, err error) { + // Allow opening any file. + resp = &fuse.OpenFileResponse{} + return +}