Files
petrbalvin a9b8039ef7
Test / test (push) Successful in 2m4s
Release / gates (push) Successful in 2m5s
Release / build (amd64, freebsd) (push) Successful in 1m27s
Release / build (amd64, linux) (push) Successful in 1m22s
Release / build (amd64, netbsd) (push) Successful in 1m19s
Release / build (amd64, openbsd) (push) Successful in 1m20s
Release / build (arm64, darwin) (push) Successful in 1m21s
Release / build (arm64, freebsd) (push) Successful in 1m26s
Release / build (arm64, linux) (push) Successful in 1m25s
Release / build (arm64, netbsd) (push) Successful in 1m31s
Release / build (arm64, openbsd) (push) Successful in 1m27s
Release / build (loong64, linux) (push) Successful in 1m37s
Release / build (riscv64, linux) (push) Successful in 1m21s
Release / release (push) Successful in 40s
feat: full NFSv4.2 server and client in pure Go
Assisted-by: GLM 5.3 Flash
2026-09-21 18:51:17 +02:00

28 lines
908 B
Go

// Copyright (c) 2026 Petr Balvín <opensource@petrbalvin.org> (https://petrbalvin.org)
// SPDX-License-Identifier: MIT
//go:build !linux && !freebsd
package nfsfs
// GetXattr answers that the backend carries no extended attributes; the
// platforms without a system xattr interface serve none.
func (l *Local) GetXattr(h Handle, name string, max int) ([]byte, error) {
return nil, ErrXattrNotSupp
}
// SetXattr answers that the backend carries no extended attributes.
func (l *Local) SetXattr(h Handle, name string, value []byte, mode uint32) error {
return ErrXattrNotSupp
}
// ListXattr answers that the backend carries no extended attributes.
func (l *Local) ListXattr(h Handle, max int) ([]string, error) {
return nil, ErrXattrNotSupp
}
// RemoveXattr answers that the backend carries no extended attributes.
func (l *Local) RemoveXattr(h Handle, name string) error {
return ErrXattrNotSupp
}