cache: move 3.x data objects into files/md5/ prefix

This commit is contained in:
Peter Rowlands
2023-06-09 15:49:44 +03:00
committed by Ruslan Kuprieiev
parent 528eab0418
commit 603f5fdba1
22 changed files with 195 additions and 70 deletions
+2 -2
View File
@@ -134,7 +134,7 @@ def test_commit_granular_output(tmp_dir, dvc):
no_commit=True,
)
cache = tmp_dir / ".dvc" / "cache"
cache = tmp_dir / ".dvc" / "cache" / "files" / "md5"
assert not list(cache.glob("*/*"))
dvc.commit("foo")
@@ -175,7 +175,7 @@ def test_commit_granular_dir(tmp_dir, dvc):
)
dvc.add("data", no_commit=True)
cache = tmp_dir / ".dvc" / "cache"
cache = tmp_dir / ".dvc" / "cache" / "files" / "md5"
assert set(cache.glob("*/*")) == set()