mirror of
https://github.com/restic/restic.git
synced 2026-11-21 04:52:42 +00:00
Merge pull request #5143 from MichaelEischer/fs-handle-interface
fs: rework FS interface to be handle based
This commit is contained in:
31 files changed
+817
-485
No files matched your search
+2
-5
@@ -23,11 +23,8 @@ func nodeFromFileInfo(path string, fi os.FileInfo, ignoreXattrListError bool) (*
|
||||
return node, err
|
||||
}
|
||||
|
||||
allowExtended, err := nodeFillGenericAttributes(node, path, &stat)
|
||||
if allowExtended {
|
||||
// Skip processing ExtendedAttributes if allowExtended is false.
|
||||
err = errors.Join(err, nodeFillExtendedAttributes(node, path, ignoreXattrListError))
|
||||
}
|
||||
err := nodeFillGenericAttributes(node, path, &stat)
|
||||
err = errors.Join(err, nodeFillExtendedAttributes(node, path, ignoreXattrListError))
|
||||
return node, err
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user