mirror of
https://github.com/restic/restic.git
synced 2026-11-14 10:02:46 +00:00
fs: unexport a several windows functions
This commit is contained in:
1 parent
cf051e777a
commit
6d3a5260d3
14 files changed
+119
-117
No files matched your search
+1
-1
@@ -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)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user