Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
211
func
(s *state) readLog() ([]loggedRequest, error) {
212
return
readJSONL[loggedRequest](s.logPath())
213
}
214
215
func
(s *state) appendRun(rec runRecord) error {
216
return
appendJSONL(s.runsPath(), []runRecord{rec})
Callers
8
TestCmdSetAndReset
Function · 0.95
TestMockServer
Function · 0.95
TestCmdExport
Function · 0.95
TestRunAll
Function · 0.95
cmdExport
Function · 0.80
lastQuery
Function · 0.80
cmdScaffold
Function · 0.80
cmdLog
Function · 0.80
Calls
1
logPath
Method · 0.95
Tested by
4
TestCmdSetAndReset
Function · 0.76
TestMockServer
Function · 0.76
TestCmdExport
Function · 0.76
TestRunAll
Function · 0.76