mirror of
https://github.com/restic/restic.git
synced 2026-11-06 15:29:21 +00:00
fs: unexport Local and expose via NewLocal
This commit is contained in:
1 parent
1acc19dac5
commit
e1e7fc8fb2
20 files changed
+72
-67
No files matched your search
@@ -467,7 +467,7 @@ func TestTestEnsureSnapshot(t *testing.T) {
|
||||
|
||||
repo := repository.TestRepository(t)
|
||||
|
||||
arch := New(repo, fs.Local{}, Options{})
|
||||
arch := New(repo, fs.NewLocal(), Options{})
|
||||
opts := SnapshotOptions{
|
||||
Time: time.Now(),
|
||||
Hostname: "localhost",
|
||||
|
||||
Reference in new issue
Block a user