MCPcopy 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
215func (s *state) appendRun(rec runRecord) error {
216 return appendJSONL(s.runsPath(), []runRecord{rec})
217}
218
219func (s *state) readRuns() ([]runRecord, error) {
220 return readJSONL[runRecord](s.runsPath())

Callers 5

TestCmdSetAndResetFunction · 0.95
TestCmdExportFunction · 0.95
TestCmdScaffoldFunction · 0.95
TestCmdLogFunction · 0.80
runAllFunction · 0.80

Calls 2

runsPathMethod · 0.95
appendJSONLFunction · 0.85

Tested by 4

TestCmdSetAndResetFunction · 0.76
TestCmdExportFunction · 0.76
TestCmdScaffoldFunction · 0.76
TestCmdLogFunction · 0.64