mirror of
https://github.com/restic/restic.git
synced 2026-11-20 04:26:54 +00:00
archiver: extract Readdirnames to fs package
This commit is contained in:
1 parent
83fdcf21fe
commit
1369658a32
4 files changed
+26
-25
No files matched your search
@@ -233,7 +233,7 @@ func unrollTree(f fs.FS, t *Tree) error {
|
||||
// nodes, add the contents of Path to the nodes.
|
||||
if t.Path != "" && len(t.Nodes) > 0 {
|
||||
debug.Log("resolve path %v", t.Path)
|
||||
entries, err := readdirnames(f, t.Path, 0)
|
||||
entries, err := fs.Readdirnames(f, t.Path, 0)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user