|
@ -10,11 +10,13 @@ import ( |
|
|
// https://github.com/bazil/fuse/issues/130
|
|
|
// https://github.com/bazil/fuse/issues/130
|
|
|
|
|
|
|
|
|
var _ = fs.NodeAccesser(&Dir{}) |
|
|
var _ = fs.NodeAccesser(&Dir{}) |
|
|
|
|
|
|
|
|
func (dir *Dir) Access(ctx context.Context, req *fuse.AccessRequest) error { |
|
|
func (dir *Dir) Access(ctx context.Context, req *fuse.AccessRequest) error { |
|
|
return fuse.ENOSYS |
|
|
return fuse.ENOSYS |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
var _ = fs.NodeAccesser(&File{}) |
|
|
var _ = fs.NodeAccesser(&File{}) |
|
|
|
|
|
|
|
|
func (file *File) Access(ctx context.Context, req *fuse.AccessRequest) error { |
|
|
func (file *File) Access(ctx context.Context, req *fuse.AccessRequest) error { |
|
|
return fuse.ENOSYS |
|
|
return fuse.ENOSYS |
|
|
} |
|
|
} |