dvcfs: return md5-dos2unix in info

This commit is contained in:
Peter Rowlands
2023-07-04 12:28:09 +03:00
committed by Ruslan Kuprieiev
parent 86e199c6f2
commit a607e7b3d7
+2
View File
@@ -54,6 +54,8 @@ def _merge_info(repo, key, fs_info, dvc_info):
ret["size"] = dvc_info["size"]
if not fs_info and "md5" in dvc_info:
ret["md5"] = dvc_info["md5"]
if not fs_info and "md5-dos2unix" in dvc_info:
ret["md5-dos2unix"] = dvc_info["md5-dos2unix"]
if fs_info:
ret["type"] = fs_info["type"]