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

Method current_ref

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

Returns the current ref of the code (may not be a commit id, if not saved) Returns ------- commit_id : str the current commit_id (this may not be a commit id) Raises ------ CodeNotInitialized error if not initialized (must ini

(self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

test_current_refMethod · 0.80

Calls 3

_get_tracked_filesMethod · 0.95
CodeNotInitializedClass · 0.90

Tested by 1

test_current_refMethod · 0.64