mirror of
https://github.com/kopia/kopia.git
synced 2026-10-26 16:18:53 -04:00
refactoring: renamed repo/block to repo/content
Also introduced strongly typed content.ID and manifest.ID (instead of string) This aligns identifiers across all layers of repository: blob.ID content.ID object.ID manifest.ID
This commit is contained in:
1 parent
916da07e0f
commit
54edb97b3a
100 files changed
+2692
-2658
No files matched your search
@@ -21,7 +21,7 @@ func runCacheInfoCommand(ctx context.Context, rep *repo.Repository) error {
|
||||
}
|
||||
|
||||
log.Debugf("scanning cache...")
|
||||
fileCount, totalFileSize, err := scanCacheDir(filepath.Join(rep.CacheDirectory, "blocks"))
|
||||
fileCount, totalFileSize, err := scanCacheDir(filepath.Join(rep.CacheDirectory, "contents"))
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user