mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
repo: data_index: store in .dvc/tmp/index/data
This commit is contained in:
@@ -385,7 +385,7 @@ class Repo:
|
|||||||
return None
|
return None
|
||||||
|
|
||||||
if self._data_index is None:
|
if self._data_index is None:
|
||||||
index_dir = os.path.join(self.index_db_dir, "data")
|
index_dir = os.path.join(self.index_db_dir, "index", "data")
|
||||||
os.makedirs(index_dir, exist_ok=True)
|
os.makedirs(index_dir, exist_ok=True)
|
||||||
|
|
||||||
self._data_index = DataIndex.open(os.path.join(index_dir, "db.db"))
|
self._data_index = DataIndex.open(os.path.join(index_dir, "db.db"))
|
||||||
|
|||||||
Reference in New Issue
Block a user