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

Method create_ref

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

Add all files except for those in .datmoignore, and make a commit If the commit_id is given, it will return the same commit_id or error Parameters ---------- commit_id : str, optional if commit_id is given, it will ensure this commit_id exists and not cr

(self, commit_id=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 6

exists_refMethod · 0.95
_get_tracked_filesMethod · 0.95
_get_filehashMethod · 0.95
CodeNotInitializedClass · 0.90
CommitDoesNotExistClass · 0.90

Tested by

no test coverage detected