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

Method current_hash

datmo/core/controller/code/driver/__init__.py:32–44  ·  view source on GitHub ↗

Get the current hash or commit id of the code if not unstaged Returns ------- hash : str the hash of the code or commit id only if it has already been created Raises ------ UnstagedChanges does not proceed to return hash unles

(self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected