MCPcopy Create free account
hub / github.com/52funny/pikpakcli / isReadlineInterrupt

Function isReadlineInterrupt

internal/shell/shell.go:161–163  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

159}
160
161func isReadlineInterrupt(err error) bool {
162 return err == readline.ErrInterrupt
163}
164
165func setCommandContextTree(cmd *cobra.Command, ctx context.Context) {
166 cmd.SetContext(ctx)

Callers 2

StartFunction · 0.85
TestIsReadlineInterruptFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestIsReadlineInterruptFunction · 0.68