MCPcopy 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
157func shouldExitOnReadlineError(err error) bool {
158 return err == io.EOF
159}
160
161func isReadlineInterrupt(err error) bool {
162 return err == readline.ErrInterrupt

Callers 2

StartFunction · 0.85

Calls

no outgoing calls

Tested by 1