flushFS.Init
parent
e1375f33da
commit
20b5ac7634
|
@ -17,6 +17,7 @@ package flushfs
|
||||||
import (
|
import (
|
||||||
"github.com/jacobsa/fuse"
|
"github.com/jacobsa/fuse"
|
||||||
"github.com/jacobsa/fuse/fuseutil"
|
"github.com/jacobsa/fuse/fuseutil"
|
||||||
|
"golang.org/x/net/context"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Create a file system containing a single file named "foo".
|
// Create a file system containing a single file named "foo".
|
||||||
|
@ -34,3 +35,11 @@ func NewFileSystem(
|
||||||
type flushFS struct {
|
type flushFS struct {
|
||||||
fuseutil.NotImplementedFileSystem
|
fuseutil.NotImplementedFileSystem
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (fs *flushFS) Init(
|
||||||
|
ctx context.Context,
|
||||||
|
req *fuse.InitRequest) (
|
||||||
|
resp *fuse.InitResponse, err error) {
|
||||||
|
resp = &fuse.InitResponse{}
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue