Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/52funny/pikpakcli
/ shouldExitOnReadlineError
Function
shouldExitOnReadlineError
internal/shell/shell.go:157–159 ·
view source on GitHub ↗
(err error)
Source
from the content-addressed store, hash-verified
155
}
156
157
func
shouldExitOnReadlineError(err error) bool {
158
return
err == io.EOF
159
}
160
161
func
isReadlineInterrupt(err error) bool {
162
return
err == readline.ErrInterrupt
Callers
2
Start
Function · 0.85
TestShouldExitOnReadlineError
Function · 0.85
Calls
no outgoing calls
Tested by
1
TestShouldExitOnReadlineError
Function · 0.68