Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

626 B
Raw Blame
//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
}