mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-11 23:10:10 +01:00
cache: move 3.x data objects into files/md5/ prefix
This commit is contained in:
committed by
Ruslan Kuprieiev
parent
528eab0418
commit
603f5fdba1
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user