fs: unexport Local and expose via NewLocal

This commit is contained in:
Michael Eischer
2026-06-13 19:50:49 +02:00
parent 1acc19dac5
commit e1e7fc8fb2
20 changed files with 72 additions and 67 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ import (
// TestSnapshot creates a new snapshot of path.
func TestSnapshot(t testing.TB, repo restic.Repository, path string, parent *restic.ID) *data.Snapshot {
arch := New(repo, fs.Local{}, Options{})
arch := New(repo, fs.NewLocal(), Options{})
opts := SnapshotOptions{
Time: time.Now(),
Hostname: "localhost",