fs: make generic and extended attrs independent of each other

This commit is contained in:
Michael Eischer
2024-11-02 22:45:48 +01:00
parent 6084848e5a
commit 087f95a298
6 changed files with 37 additions and 32 deletions

View File

@@ -71,8 +71,8 @@ func nodeRestoreGenericAttributes(node *restic.Node, _ string, warn func(msg str
}
// nodeFillGenericAttributes is a no-op.
func nodeFillGenericAttributes(_ *restic.Node, _ string, _ *ExtendedFileInfo) (allowExtended bool, err error) {
return true, nil
func nodeFillGenericAttributes(_ *restic.Node, _ string, _ *ExtendedFileInfo) error {
return nil
}
func nodeRestoreExtendedAttributes(node *restic.Node, path string) error {