From 2cc1bfaafd2ceb802d653d60e4272cbe808eb3eb Mon Sep 17 00:00:00 2001 From: Aaron Jacobs Date: Tue, 24 Mar 2015 16:34:43 +1100 Subject: [PATCH] Removed some references to FileSystem. --- README.md | 3 --- samples/in_process.go | 2 +- samples/memfs/fs.go | 2 +- samples/subprocess.go | 2 -- 4 files changed, 2 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index fcc6d66..36349e3 100644 --- a/README.md +++ b/README.md @@ -8,9 +8,6 @@ and contains a decent amount of canned behavior. The chief improvements and/or differences from the bazil.org packages are: - * A single interface (`fuse.FileSystem`) for all of the methods that you might - care about. - * No surprises in the form of magic/default behaviors. You must provide an implementation for every method in the interface. Embed a `fuseutil.NotImplementedFileSystem` struct to have default implementations diff --git a/samples/in_process.go b/samples/in_process.go index 83a3011..2fc2ecf 100644 --- a/samples/in_process.go +++ b/samples/in_process.go @@ -29,7 +29,7 @@ import ( // A struct that implements common behavior needed by tests in the samples/ // directory. Use it as an embedded field in your test fixture, calling its -// SetUp method from your SetUp method after setting the FileSystem field. +// SetUp method from your SetUp method after setting the Server field. type SampleTest struct { // The server under test and the configuration with which it should be // mounted. These must be set by the user of this type before calling SetUp; diff --git a/samples/memfs/fs.go b/samples/memfs/fs.go index f8e6d4f..882bf84 100644 --- a/samples/memfs/fs.go +++ b/samples/memfs/fs.go @@ -251,7 +251,7 @@ func (fs *memFS) deallocateInode(id fuseops.InodeID) { } //////////////////////////////////////////////////////////////////////// -// FileSystem methods +// Op methods //////////////////////////////////////////////////////////////////////// func (fs *memFS) init(op *fuseops.InitOp) { diff --git a/samples/subprocess.go b/samples/subprocess.go index ccd2ae2..510c0ab 100644 --- a/samples/subprocess.go +++ b/samples/subprocess.go @@ -67,8 +67,6 @@ type SubprocessTest struct { // Mount the file system and initialize the other exported fields of the // struct. Panics on error. -// -// REQUIRES: t.FileSystem has been set. func (t *SubprocessTest) SetUp(ti *ogletest.TestInfo) { err := t.initialize() if err != nil {