fs: unexport Local and expose via NewLocal

This commit is contained in:
Michael Eischer
2026-06-05 16:28:15 +02:00
parent 1acc19dac5
commit e1e7fc8fb2
20 changed files with 72 additions and 67 deletions
+1 -1
View File
@@ -390,7 +390,7 @@ func restoreAndGetNode(t *testing.T, tempDir string, testNode *data.Node, warnin
}, func(_ string) bool { return true }, false)
test.OK(t, errors.Wrapf(err, "Failed to restore metadata for: %s", testPath))
fs := &Local{}
fs := NewLocal()
meta, err := fs.OpenFile(testPath, O_NOFOLLOW, true)
test.OK(t, err)
nodeFromFileInfo, err := meta.ToNode(false, t.Logf)