MCPcopy 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
219func (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.
224func appendJSONL[T any](path string, items []T) error {

Callers 6

TestCmdSetAndResetFunction · 0.95
TestCmdExportFunction · 0.95
gitWorldMethod · 0.95
latestRequestsMethod · 0.95
TestRunAllFunction · 0.95
cmdExportFunction · 0.80

Calls 1

runsPathMethod · 0.95

Tested by 3

TestCmdSetAndResetFunction · 0.76
TestCmdExportFunction · 0.76
TestRunAllFunction · 0.76