MCPcopy Index your code
hub / github.com/datmo/datmo / exists

Method exists

datmo/core/controller/code/code.py:122–147  ·  view source on GitHub ↗

Returns a boolean if the code exists Parameters ---------- code_id : str code id to check for code_commit_id : str unique commit id for the code Returns ------- bool True if exists else False

(self, code_id=None, code_commit_id=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 8

checkoutMethod · 0.95
test_run_helperMethod · 0.45
__init__Method · 0.45
_netrc_existsMethod · 0.45
read_git_netrcMethod · 0.45
__init__Method · 0.45
test_netrcMethod · 0.45
test_existsMethod · 0.45

Calls 2

ArgumentErrorClass · 0.90
queryMethod · 0.45

Tested by 3

test_run_helperMethod · 0.36
test_netrcMethod · 0.36
test_existsMethod · 0.36