MCPcopy Create free account
hub / github.com/git-bug/git-bug / Increment

Method Increment

util/lamport/clock.go:11–11  ·  view source on GitHub ↗

Increment is used to return the value of the lamport clock and increment it afterwards

()

Source from the content-addressed store, hash-verified

9 Time() Time
10 // Increment is used to return the value of the lamport clock and increment it afterwards
11 Increment() (Time, error)
12 // Witness is called to update our local clock if necessary after
13 // witnessing a clock value received from another process
14 Witness(time Time) error

Callers 4

IncrementMethod · 0.65
testClockFunction · 0.65
CommitMethod · 0.65
mergeFunction · 0.65

Implementers 1

MemClockutil/lamport/mem_clock.go

Calls

no outgoing calls

Tested by

no test coverage detected