fs: unexport a several windows functions

This commit is contained in:
Michael Eischer committed 2024-08-31 18:40:36 +02:00
1 parent cf051e777a
commit 6d3a5260d3
14 files changed
+119 -117

No files matched your search

+1 -1
View File
@@ -306,7 +306,7 @@ func nodeRestoreMetadata(node *restic.Node, path string, warn func(msg string))
// calling Chmod below will no longer allow any modifications to be made on the file and the
// calls above would fail.
if node.Type != restic.NodeTypeSymlink {
if err := Chmod(path, node.Mode); err != nil {
if err := chmod(path, node.Mode); err != nil {
if firsterr == nil {
firsterr = errors.WithStack(err)
}