コード例 #1
0
ファイル: factory.py プロジェクト: vjkumran/dvc
 def existing_data_item_from_dvc_path(self, dvc_path):
     path = Path.from_dvc_path(dvc_path, self._git)
     return self.existing_data_item(path.relative)
コード例 #2
0
 def data_item_from_dvc_path(self, dvc_path, existing=True):
     path = Path.from_dvc_path(dvc_path, self._git)
     if existing:
         return self.existing_data_item(path.relative)
     else:
         return self.data_item(path.relative)