Removed some references to FileSystem.
parent
bc5f2bac2d
commit
2cc1bfaafd
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -251,7 +251,7 @@ func (fs *memFS) deallocateInode(id fuseops.InodeID) {
|
|||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
// FileSystem methods
|
||||
// Op methods
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
|
||||
func (fs *memFS) init(op *fuseops.InitOp) {
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue