unimplemented.go 415 B

12345678910111213141516171819202122
  1. package filesys
  2. import (
  3. "context"
  4. "github.com/seaweedfs/fuse"
  5. "github.com/seaweedfs/fuse/fs"
  6. )
  7. // https://github.com/bazil/fuse/issues/130
  8. var _ = fs.NodeAccesser(&Dir{})
  9. func (dir *Dir) Access(ctx context.Context, req *fuse.AccessRequest) error {
  10. return fuse.ENOSYS
  11. }
  12. var _ = fs.NodeAccesser(&File{})
  13. func (file *File) Access(ctx context.Context, req *fuse.AccessRequest) error {
  14. return fuse.ENOSYS
  15. }