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

Method checkout

datmo/core/controller/code/code.py:166–193  ·  view source on GitHub ↗

Checkout to specific code id Parameters ---------- code_id : str code id to checkout to Returns ------- bool True if success Raises ------ CodeDoesNotExist if code id does not exist

(self, code_id)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

test_checkoutMethod · 0.45

Calls 4

existsMethod · 0.95
CodeDoesNotExistClass · 0.90
get_by_idMethod · 0.80
checkout_refMethod · 0.45

Tested by 1

test_checkoutMethod · 0.36