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

Method Witness

repository/repo.go:209–209  ·  view source on GitHub ↗

Witness is equivalent to c = GetOrCreateClock(name) + c.Witness(time)

(name string, time lamport.Time)

Source from the content-addressed store, hash-verified

207
208 // Witness is equivalent to c = GetOrCreateClock(name) + c.Witness(time)
209 Witness(name string, time lamport.Time) error
210}
211
212// ClockLoader hold which logical clock need to exist for an entity and

Callers 2

WitnessMethod · 0.65
WitnessMethod · 0.65

Implementers 2

mockRepoClockrepository/mock_repo.go
GoGitReporepository/gogit.go

Calls

no outgoing calls

Tested by

no test coverage detected