From 0b7e54ef6bcd81c856e4e6c7e3d2d689cf83dde3 Mon Sep 17 00:00:00 2001 From: Aaron Jacobs Date: Fri, 27 Feb 2015 16:33:18 +1100 Subject: [PATCH] Moved the factory function. --- samples/memfs/fs.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/samples/memfs/fs.go b/samples/memfs/fs.go index 6a90272..edc163e 100644 --- a/samples/memfs/fs.go +++ b/samples/memfs/fs.go @@ -10,10 +10,6 @@ import ( "github.com/jacobsa/gcsfuse/timeutil" ) -// Create a file system that stores data and metadata in memory. -func NewMemFS( - clock timeutil.Clock) fuse.FileSystem - type memFS struct { fuseutil.NotImplementedFileSystem @@ -44,3 +40,7 @@ type memFS struct { // INVARIANT: For all dirs d, all of d's children are in the map. inodeIndex map[fuse.InodeID]interface{} // GUARDED_BY(mu) } + +// Create a file system that stores data and metadata in memory. +func NewMemFS( + clock timeutil.Clock) fuse.FileSystem