MCPcopy
hub / github.com/cli/cli / isUp

Function isUp

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

Source from the content-addressed store, hash-verified

322}
323
324func isUp(b []byte) bool {
325 up := []byte{27, 91, 65}
326 r := rune(b[0])
327 return bytes.EqualFold(b, up) || r == 'w' || r == 'k'
328}
329
330var ctrlC = []byte{0x3, 0x5b, 0x43}
331

Callers 1

gardenRunFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected