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
@@ -84,7 +84,7 @@ func WriteTest(t *testing.T, format string, cd CheckDump) {
defer cancel()
tmpdir, repo, be := prepareTempdirRepoSrc(t, tt.args)
arch := archiver.New(repo, fs.Track{FS: fs.Local{}}, archiver.Options{})
arch := archiver.New(repo, fs.Track{FS: fs.NewLocal()}, archiver.Options{})
back := rtest.Chdir(t, tmpdir)
defer back()