mirror of
https://github.com/restic/restic.git
synced 2026-08-05 21:33:16 +00:00
fs: unexport Local and expose via NewLocal
This commit is contained in:
@@ -115,7 +115,7 @@ func TestNodeFromFileInfo(t *testing.T) {
|
||||
return
|
||||
}
|
||||
|
||||
fs := &Local{}
|
||||
fs := NewLocal()
|
||||
meta, err := fs.OpenFile(test.filename, O_NOFOLLOW, true)
|
||||
rtest.OK(t, err)
|
||||
node, err := meta.ToNode(false, t.Logf)
|
||||
|
||||
Reference in New Issue
Block a user