fs: move NodeFromFileInfo into FS interface
This commit is contained in:
parent
c3b3120e10
commit
75711446e1
12 changed files with 69 additions and 41 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue