mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-08 15:28:26 +01:00
index: store data index under tree prefix
Tidying it up, so root of the index will look like this: ``` tree/ remote/ ``` This hasn't been released yet, so we are not breaking anything.
This commit is contained in:
+1
-1
@@ -363,7 +363,7 @@ class Index:
|
||||
if index is None:
|
||||
index = DataIndex()
|
||||
|
||||
prefix = (self.data_tree.hash_info.value,)
|
||||
prefix = ("tree", self.data_tree.hash_info.value)
|
||||
if prefix in index.ls((), detail=False):
|
||||
loaded = True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user