MCPcopy Create free account
hub / github.com/datmo/datmo / exists_ref

Method exists_ref

datmo/core/controller/code/driver/file.py:257–282  ·  view source on GitHub ↗

Returns a boolean if the commit exists Parameters ---------- commit_id : str commit id to check for Returns ------- bool True if exists else False Raises ------ CodeNotInitialized error if

(self, commit_id)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

_has_unstaged_changesMethod · 0.95
create_refMethod · 0.95
delete_refMethod · 0.95
checkout_refMethod · 0.95

Calls 2

list_refsMethod · 0.95
CodeNotInitializedClass · 0.90

Tested by

no test coverage detected