Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
324
func
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
330
var
ctrlC = []byte{0x3, 0x5b, 0x43}
331
Callers
1
gardenRun
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected