MCPcopy
hub / github.com/cli/cli / isRight

Function isRight

pkg/cmd/repo/garden/garden.go:312–316  ·  view source on GitHub ↗
(b []byte)

Source from the content-addressed store, hash-verified

310}
311
312func isRight(b []byte) bool {
313 right := []byte{27, 91, 67}
314 r := rune(b[0])
315 return bytes.EqualFold(b, right) || r == 'd' || r == 'l'
316}
317
318func isDown(b []byte) bool {
319 down := []byte{27, 91, 66}

Callers 1

gardenRunFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected