MCPcopy Index your code
hub / github.com/git-bug/git-bug / Commit

Method Commit

entity/dag/interface.go:26–26  ·  view source on GitHub ↗

Commit writes the staging area in Git and move the operations to the packs

(repo repository.ClockedRepo)

Source from the content-addressed store, hash-verified

24
25 // Commit writes the staging area in Git and move the operations to the packs
26 Commit(repo repository.ClockedRepo) error
27
28 // CommitAsNeeded execute a Commit only if necessary. This function is useful to avoid getting an error if the Entity
29 // is already in sync with the repository.

Callers 15

finishIdentityMethod · 0.65
CommitMethod · 0.65
CommitMethod · 0.65
CommitMethod · 0.65
NewRawMethod · 0.65
commitMethod · 0.65
TestGithubPushPullFunction · 0.65
ImportAllMethod · 0.65
ImportAllMethod · 0.65
TestGitlabPushPullFunction · 0.65
ImportAllMethod · 0.65
runBugStatusCloseFunction · 0.65

Calls

no outgoing calls

Tested by 10

TestGithubPushPullFunction · 0.52
TestGitlabPushPullFunction · 0.52
TestIdentityPushPullFunction · 0.52
TestIDFunction · 0.52
Example_entityFunction · 0.52
TestEntityPushPullFunction · 0.52
TestListLocalIdsFunction · 0.52
TestMergeFunction · 0.52
TestRemoveFunction · 0.52
TestRemoveAllFunction · 0.52