seaweedfs/weed/filesys/unimplemented.go

23 lines
415 B
Go
Raw Normal View History

package filesys
import (
"context"
"github.com/seaweedfs/fuse"
"github.com/seaweedfs/fuse/fs"
)
// https://github.com/bazil/fuse/issues/130
var _ = fs.NodeAccesser(&Dir{})
2020-07-14 14:34:16 +00:00
func (dir *Dir) Access(ctx context.Context, req *fuse.AccessRequest) error {
return fuse.ENOSYS
}
var _ = fs.NodeAccesser(&File{})
2020-07-14 14:34:16 +00:00
func (file *File) Access(ctx context.Context, req *fuse.AccessRequest) error {
return fuse.ENOSYS
}