mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-22 22:11:39 +02:00
Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
32 lines
626 B
Go
32 lines
626 B
Go
//go:build !linux && !darwin
|
|
|
|
package fuse
|
|
|
|
import (
|
|
"errors"
|
|
)
|
|
|
|
// Extended attributes support for unsupported platforms
|
|
|
|
var ErrXattrNotSupported = errors.New("extended attributes not supported on this platform")
|
|
|
|
func setXattr(path, name string, value []byte, flags int) error {
|
|
return ErrXattrNotSupported
|
|
}
|
|
|
|
func getXattr(path, name string, value []byte) (int, error) {
|
|
return 0, ErrXattrNotSupported
|
|
}
|
|
|
|
func listXattr(path string, list []byte) (int, error) {
|
|
return 0, ErrXattrNotSupported
|
|
}
|
|
|
|
func removeXattr(path, name string) error {
|
|
return ErrXattrNotSupported
|
|
}
|
|
|
|
func isXattrSupported() bool {
|
|
return false
|
|
}
|