MCPcopy Create free account
hub / github.com/cli/cli / readLog

Method readLog

script/ghmock/store.go:211–213  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

209}
210
211func (s *state) readLog() ([]loggedRequest, error) {
212 return readJSONL[loggedRequest](s.logPath())
213}
214
215func (s *state) appendRun(rec runRecord) error {
216 return appendJSONL(s.runsPath(), []runRecord{rec})

Callers 8

TestCmdSetAndResetFunction · 0.95
TestMockServerFunction · 0.95
TestCmdExportFunction · 0.95
TestRunAllFunction · 0.95
cmdExportFunction · 0.80
lastQueryFunction · 0.80
cmdScaffoldFunction · 0.80
cmdLogFunction · 0.80

Calls 1

logPathMethod · 0.95

Tested by 4

TestCmdSetAndResetFunction · 0.76
TestMockServerFunction · 0.76
TestCmdExportFunction · 0.76
TestRunAllFunction · 0.76