MCPcopy Create free account
hub / github.com/driusan/dgit / Commit

Function Commit

git/commit.go:66–191  ·  view source on GitHub ↗

Commit implements the command "git commit" in the repository pointed to by c.

(c *Client, opts CommitOptions, message CommitMessage, files []File)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 10

RevertFunction · 0.92
CommitFunction · 0.92
TestRevertFunction · 0.70
testMergeBaseSimpleSetupFunction · 0.70
TestSimpleCommitsFunction · 0.70
TestUnmergedCommitFunction · 0.70
TestCommitAmendFunction · 0.70
TestResetFilesFunction · 0.70
TestStatusFunction · 0.70
TestCheckoutBranchFunction · 0.70

Calls 15

NewIndexFunction · 0.85
WriteTreeFromIndexFunction · 0.85
TreeIDTypeAlias · 0.85
GetHeadCommitMethod · 0.80
ReadIndexMethod · 0.80
ParentsMethod · 0.80
GetDateMethod · 0.80
FormatMethod · 0.80
CleanupMethod · 0.80
AddFunction · 0.70
ReadTreeFunction · 0.70
UpdateIndexFunction · 0.70

Tested by 8

TestRevertFunction · 0.56
testMergeBaseSimpleSetupFunction · 0.56
TestSimpleCommitsFunction · 0.56
TestUnmergedCommitFunction · 0.56
TestCommitAmendFunction · 0.56
TestResetFilesFunction · 0.56
TestStatusFunction · 0.56
TestCheckoutBranchFunction · 0.56