Moved the factory function.

geesefs-0-30-9
Aaron Jacobs 2015-02-27 16:33:18 +11:00
parent 3739cb6c3a
commit 0b7e54ef6b
1 changed files with 4 additions and 4 deletions

View File

@ -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