MCPcopy Create free account
hub / github.com/dim-an/cod / errCommandNotSimple

Function errCommandNotSimple

shells/parse.go:25–27  ·  view source on GitHub ↗
(reason, cmd string)

Source from the content-addressed store, hash-verified

23var ErrCommandNotSimple = errors.New("")
24
25func errCommandNotSimple(reason, cmd string) error {
26 return fmt.Errorf("%w%v: %q", ErrCommandNotSimple, reason, cmd)
27}
28
29func isVariableAssignment(s string) bool {
30 return strings.ContainsRune(s, '=')

Callers 1

ParseSimpleCommandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected