MCPcopy Create free account
hub / github.com/Timmmm/autorebase / commit

Function commit

tests/utils/mod.rs:115–120  ·  view source on GitHub ↗

Helper function to create a new `CommitDescription`.

(message: &str)

Source from the content-addressed store, hash-verified

113
114/// Helper function to create a new `CommitDescription`.
115pub fn commit(message: &str) -> CommitDescription {
116 CommitDescription {
117 message: message.to_owned(),
118 ..Default::default()
119 }
120}
121
122/// Create a new git repo in a temporary directory with contents described by the
123/// `root` commit and its children. When done if `checkout_when_done` is not `None`

Callers 12

multiple_branchesFunction · 0.85
checkedout_cleanFunction · 0.85
checkedout_dirtyFunction · 0.85
checked_out_conflictFunction · 0.85
test_build_repoFunction · 0.85
basic_autorebaseFunction · 0.85
from_another_worktreeFunction · 0.85
conflict_resumeFunction · 0.85
with_includeFunction · 0.85
conflictFunction · 0.85
multiple_branchesFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by 11

multiple_branchesFunction · 0.68
checkedout_cleanFunction · 0.68
checkedout_dirtyFunction · 0.68
checked_out_conflictFunction · 0.68
test_build_repoFunction · 0.68
basic_autorebaseFunction · 0.68
from_another_worktreeFunction · 0.68
conflict_resumeFunction · 0.68
with_includeFunction · 0.68
conflictFunction · 0.68
multiple_branchesFunction · 0.68