weedfs_xattr_freebsd.go 709 B

123456789101112131415161718192021222324252627
  1. package mount
  2. import (
  3. "syscall"
  4. "github.com/hanwen/go-fuse/v2/fuse"
  5. )
  6. func (wfs *WFS) GetXAttr(cancel <-chan struct{}, header *fuse.InHeader, attr string, dest []byte) (size uint32, code fuse.Status) {
  7. return 0, fuse.Status(syscall.ENOTSUP)
  8. }
  9. func (wfs *WFS) SetXAttr(cancel <-chan struct{}, input *fuse.SetXAttrIn, attr string, data []byte) fuse.Status {
  10. return fuse.Status(syscall.ENOTSUP)
  11. }
  12. func (wfs *WFS) ListXAttr(cancel <-chan struct{}, header *fuse.InHeader, dest []byte) (n uint32, code fuse.Status) {
  13. return 0, fuse.Status(syscall.ENOTSUP)
  14. }
  15. func (wfs *WFS) RemoveXAttr(cancel <-chan struct{}, header *fuse.InHeader, attr string) fuse.Status {
  16. return fuse.Status(syscall.ENOTSUP)
  17. }