mirror of
https://github.com/restic/restic.git
synced 2025-12-11 18:47:50 +00:00
fs: move NodeFromFileInfo into FS interface
This commit is contained in:
@@ -119,7 +119,8 @@ func TestNodeFromFileInfo(t *testing.T) {
|
||||
return
|
||||
}
|
||||
|
||||
node, err := NodeFromFileInfo(test.filename, fi, false)
|
||||
fs := &Local{}
|
||||
node, err := fs.NodeFromFileInfo(test.filename, fi, false)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user