fs: unexport Local and expose via NewLocal

This commit is contained in:
Michael Eischer committed 2026-06-13 19:50:49 +02:00
1 parent 1acc19dac5
commit e1e7fc8fb2
20 files changed
+72 -67

No files matched your search

+1 -1
View File
@@ -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)