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.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
package mount
import "testing"
// The Windows adapter forwards cgofuse's xattr flags to SetXAttr untouched,
// which only holds while both sides number them the same. cgofuse's side is
// pinned in weed/mount/winfsp; this pins ours, so editing either alone fails
// rather than silently turning a create into a replace.
func TestXattrFlagValues(t *testing.T) {
if xattr_CREATE != 1 {
t.Errorf("xattr_CREATE = %d, want 1", xattr_CREATE)
}
if xattr_REPLACE != 2 {
t.Errorf("xattr_REPLACE = %d, want 2", xattr_REPLACE)
}
}