Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/git-bug/git-bug
/ Write
Method
Write
util/lamport/persisted_clock.go:107–110 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
105
}
106
107
func
(pc *PersistedClock) Write() error {
108
data := []byte(fmt.Sprintf(
"%d"
, pc.counter))
109
return
util.WriteFile(pc.root, pc.filePath, data, 0644)
110
}
Callers
3
NewPersistedClock
Function · 0.95
Increment
Method · 0.95
Witness
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected