fs: deduplicate placeholders for generic and xattrs

This commit is contained in:
Michael Eischer committed 2024-11-16 16:09:17 +01:00
1 parent 087f95a298
commit d7f4b9db60
6 files changed
+30 -82

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
//go:build aix || netbsd || openbsd
// +build aix netbsd openbsd
package fs
import (
"github.com/restic/restic/internal/restic"
)
// nodeRestoreExtendedAttributes is a no-op
func nodeRestoreExtendedAttributes(_ *restic.Node, _ string) error {
return nil
}
// nodeFillExtendedAttributes is a no-op
func nodeFillExtendedAttributes(_ *restic.Node, _ string, _ bool) error {
return nil
}