Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/cli
/ readRuns
Method
readRuns
script/ghmock/store.go:219–221 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
217
}
218
219
func
(s *state) readRuns() ([]runRecord, error) {
220
return
readJSONL[runRecord](s.runsPath())
221
}
222
223
// appendJSONL adds items to a file, one JSON object per line.
224
func
appendJSONL[T any](path string, items []T) error {
Callers
6
TestCmdSetAndReset
Function · 0.95
TestCmdExport
Function · 0.95
gitWorld
Method · 0.95
latestRequests
Method · 0.95
TestRunAll
Function · 0.95
cmdExport
Function · 0.80
Calls
1
runsPath
Method · 0.95
Tested by
3
TestCmdSetAndReset
Function · 0.76
TestCmdExport
Function · 0.76
TestRunAll
Function · 0.76