From 38175a2e8bc62d9fa2024f06bad7a3c4ccdf0c8c Mon Sep 17 00:00:00 2001 From: Aaron Jacobs Date: Mon, 29 Feb 2016 13:38:01 +1100 Subject: [PATCH] Fix minimalFS on OS X. --- mount_test.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/mount_test.go b/mount_test.go index 13d6bbe..88b5388 100644 --- a/mount_test.go +++ b/mount_test.go @@ -10,6 +10,7 @@ import ( "golang.org/x/net/context" "github.com/jacobsa/fuse" + "github.com/jacobsa/fuse/fuseops" "github.com/jacobsa/fuse/fuseutil" ) @@ -23,6 +24,12 @@ type minimalFS struct { fuseutil.NotImplementedFileSystem } +func (fs *minimalFS) StatFS( + ctx context.Context, + op *fuseops.StatFSOp) (err error) { + return +} + //////////////////////////////////////////////////////////////////////// // Tests ////////////////////////////////////////////////////////////////////////