mirror of
https://github.com/restic/restic.git
synced 2026-09-22 03:58:31 +00:00
fs: unexport Local and expose via NewLocal
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user