Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/cli
/ appendRun
Method
appendRun
script/ghmock/store.go:215–217 ·
view source on GitHub ↗
(rec runRecord)
Source
from the content-addressed store, hash-verified
213
}
214
215
func
(s *state) appendRun(rec runRecord) error {
216
return
appendJSONL(s.runsPath(), []runRecord{rec})
217
}
218
219
func
(s *state) readRuns() ([]runRecord, error) {
220
return
readJSONL[runRecord](s.runsPath())
Callers
5
TestCmdSetAndReset
Function · 0.95
TestCmdExport
Function · 0.95
TestCmdScaffold
Function · 0.95
TestCmdLog
Function · 0.80
runAll
Function · 0.80
Calls
2
runsPath
Method · 0.95
appendJSONL
Function · 0.85
Tested by
4
TestCmdSetAndReset
Function · 0.76
TestCmdExport
Function · 0.76
TestCmdScaffold
Function · 0.76
TestCmdLog
Function · 0.64