dvc: introduce File/Tree cache objects (#5424)

This commit is contained in:
Ruslan Kuprieiev
2021-02-09 04:00:06 +02:00
committed by GitHub
parent 02a0d1af52
commit 226c68f8ff
20 changed files with 587 additions and 517 deletions
+1
View File
@@ -148,6 +148,7 @@ def test_commit_granular_dir(tmp_dir, dvc):
dvc.commit(os.path.join("data", "subdir"))
assert set(cache.glob("*/*")) == {
cache / "1a" / "ca2c799df82929bbdd976557975546.dir",
cache / "26" / "d6b64d96a660707412f523e8184b5f.dir",
cache / "ac" / "bd18db4cc2f85cedef654fccc4a4d8",
cache / "4c" / "e8d2a2cf314a52fa7f315ca37ca445",
cache / "68" / "dde2c3c4e7953c2290f176bbdc9a54",