basicfs_xattr_unsupported.go 713 B

1234567891011121314151617181920
  1. // Copyright (C) 2022 The Syncthing Authors.
  2. //
  3. // This Source Code Form is subject to the terms of the Mozilla Public
  4. // License, v. 2.0. If a copy of the MPL was not distributed with this file,
  5. // You can obtain one at https://mozilla.org/MPL/2.0/.
  6. //go:build windows || dragonfly || illumos || solaris || openbsd
  7. // +build windows dragonfly illumos solaris openbsd
  8. package fs
  9. import "github.com/syncthing/syncthing/lib/protocol"
  10. func (f *BasicFilesystem) GetXattr(path string, xattrFilter XattrFilter) ([]protocol.Xattr, error) {
  11. return nil, ErrXattrsNotSupported
  12. }
  13. func (f *BasicFilesystem) SetXattr(path string, xattrs []protocol.Xattr, xattrFilter XattrFilter) error {
  14. return ErrXattrsNotSupported
  15. }