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

Method Time

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

Time is used to return the current value of the lamport clock

()

Source from the content-addressed store, hash-verified

7type Clock interface {
8 // Time is used to return the current value of the lamport clock
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

Callers 15

NewBugExcerptFunction · 0.65
runUserShowFunction · 0.65
RepoClockTestFunction · 0.65
DateMethod · 0.65
CreatedAtMethod · 0.65
LastEditMethod · 0.65
CreatedAtMethod · 0.65
LastEditMethod · 0.65
DateMethod · 0.65
DateMethod · 0.65
DateMethod · 0.65

Implementers 1

MemClockutil/lamport/mem_clock.go

Calls

no outgoing calls

Tested by

no test coverage detected