Updated NotImplementedFileSystem.
parent
3e9e5fe09d
commit
03e4d65846
|
@ -12,20 +12,26 @@ type NotImplementedFileSystem struct {
|
||||||
|
|
||||||
var _ FileSystem = &NotImplementedFileSystem{}
|
var _ FileSystem = &NotImplementedFileSystem{}
|
||||||
|
|
||||||
func (fs *NotImplementedFileSystem) Open(
|
func (fs *NotImplementedFileSystem) LookUpInode(
|
||||||
ctx context.Context,
|
ctx context.Context,
|
||||||
req *OpenRequest) (*OpenResponse, error) {
|
req *LookUpInodeRequest) (*LookUpInodeResponse, error) {
|
||||||
return nil, ENOSYS
|
return nil, ENOSYS
|
||||||
}
|
}
|
||||||
|
|
||||||
func (fs *NotImplementedFileSystem) Lookup(
|
func (fs *NotImplementedFileSystem) ForgetInode(
|
||||||
ctx context.Context,
|
ctx context.Context,
|
||||||
req *LookupRequest) (*LookupResponse, error) {
|
req *ForgetInodeRequest) (*ForgetInodeResponse, error) {
|
||||||
return nil, ENOSYS
|
return nil, ENOSYS
|
||||||
}
|
}
|
||||||
|
|
||||||
func (fs *NotImplementedFileSystem) Forget(
|
func (fs *NotImplementedFileSystem) OpenDir(
|
||||||
ctx context.Context,
|
ctx context.Context,
|
||||||
req *ForgetRequest) (*ForgetResponse, error) {
|
req *OpenDirRequest) (*OpenDirResponse, error) {
|
||||||
|
return nil, ENOSYS
|
||||||
|
}
|
||||||
|
|
||||||
|
func (fs *NotImplementedFileSystem) ReleaseHandle(
|
||||||
|
ctx context.Context,
|
||||||
|
req *ReleaseHandleRequest) (*ReleaseHandleResponse, error) {
|
||||||
return nil, ENOSYS
|
return nil, ENOSYS
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue