You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
415 B

5 years ago
5 years ago
  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. }