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

Method CommitAsNeeded

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

CommitAsNeeded execute a Commit only if necessary. This function is useful to avoid getting an error if the Entity is already in sync with the repository.

(repo repository.ClockedRepo)

Source from the content-addressed store, hash-verified

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.
30 CommitAsNeeded(repo repository.ClockedRepo) error
31
32 // FirstOp lookup for the very first operation of the Entity.
33 FirstOp() OpT

Callers 10

CommitAsNeededMethod · 0.65
CommitAsNeededMethod · 0.65
FinishConfigFunction · 0.65
exportBugMethod · 0.65
exportBugMethod · 0.65
exportBugMethod · 0.65
runUserNewFunction · 0.65
saveAndBackMethod · 0.65
TestWriteReadFunction · 0.65

Calls

no outgoing calls

Tested by 2

TestWriteReadFunction · 0.52