rclone/backend/local/xattr_unsupported.go

22 lines
446 B
Go
Raw Normal View History

// The pkg/xattr module doesn't compile for openbsd or plan9
2022-05-25 01:06:16 +08:00
//go:build openbsd || plan9
package local
import "github.com/rclone/rclone/fs"
const (
xattrSupported = false
)
// getXattr returns the extended attributes for an object
func (o *Object) getXattr() (metadata fs.Metadata, err error) {
return nil, nil
}
// setXattr sets the metadata on the file Xattrs
func (o *Object) setXattr(metadata fs.Metadata) (err error) {
return nil
}