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

Function commit

crates/core/src/git_ops.rs:380–443  ·  view source on GitHub ↗

Stage files and create a commit. `paths` defaults to `["."]` if empty. Returns `true` if a commit was actually created (i.e. there were changes).

(
    message: &str,
    paths: &[String],
    allow_empty: bool,
    working_dir: &std::path::Path,
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

execute_taskMethod · 0.85
finalize_taskMethod · 0.85

Calls 4

RuntimeClass · 0.85
successMethod · 0.80
is_emptyMethod · 0.45
as_strMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…