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

Method commit

datmo/core/controller/code/driver/git.py:395–431  ·  view source on GitHub ↗

Git commit wrapper Parameters ---------- options: list List of strings for the command (e.g. ["-m", "hello"]) Returns ------- bool True if new commit was created, False if no commit was created Raises ------

(self, options)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 10

create_refMethod · 0.95
test_commitMethod · 0.80
test_exists_commitMethod · 0.80
test_checkoutMethod · 0.80
test_latest_commitMethod · 0.80
test_resetMethod · 0.80
setMethod · 0.80
deleteMethod · 0.80

Calls 1

GitExecutionErrorClass · 0.90

Tested by 7

test_commitMethod · 0.64
test_exists_commitMethod · 0.64
test_checkoutMethod · 0.64
test_latest_commitMethod · 0.64
test_resetMethod · 0.64