MCPcopy
hub / github.com/treeverse/dvc / workspace_status

Method workspace_status

dvc/output.py:621–631  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

619 return False
620
621 def workspace_status(self) -> dict[str, str]:
622 if not self.exists:
623 return {str(self): "deleted"}
624
625 if self.changed_checksum():
626 return {str(self): "modified"}
627
628 if not self.hash_info:
629 return {str(self): "new"}
630
631 return {}
632
633 def status(self) -> dict[str, str]:
634 if self.hash_info and self.use_cache and self.changed_cache():

Callers 1

statusMethod · 0.95

Calls 1

changed_checksumMethod · 0.95

Tested by

no test coverage detected