mirror of
https://github.com/kopia/kopia.git
synced 2026-10-23 06:38:42 -04:00
moved fs/repofs to snapshot/snapshotfs
This commit is contained in:
1 parent
d47f662316
commit
c999c0fba8
11 files changed
+25
-29
No files matched your search
+3
-4
@@ -6,10 +6,9 @@ import (
|
||||
"os"
|
||||
"strings"
|
||||
|
||||
"github.com/kopia/kopia/fs/repofs"
|
||||
"github.com/kopia/kopia/internal/diff"
|
||||
|
||||
"github.com/kopia/kopia/repo"
|
||||
"github.com/kopia/kopia/snapshot/snapshotfs"
|
||||
)
|
||||
|
||||
var (
|
||||
@@ -51,8 +50,8 @@ func runDiffCommand(ctx context.Context, rep *repo.Repository) error {
|
||||
if isDir1 {
|
||||
return d.Compare(
|
||||
ctx,
|
||||
repofs.DirectoryEntry(rep, oid1, nil),
|
||||
repofs.DirectoryEntry(rep, oid2, nil),
|
||||
snapshotfs.DirectoryEntry(rep, oid1, nil),
|
||||
snapshotfs.DirectoryEntry(rep, oid2, nil),
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user