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

Method checkout_ref

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

Checkout to specific commit Raises ------ CodeNotInitialized error if not initialized (must initialize first) UnstagedChanges error if not there exists unstaged changes in code

(self, commit_id)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 8

exists_refMethod · 0.95
_has_unstaged_changesMethod · 0.95
_get_tracked_filesMethod · 0.95
CodeNotInitializedClass · 0.90
FileIOErrorClass · 0.90
UnstagedChangesClass · 0.90
removeMethod · 0.45

Tested by

no test coverage detected