Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/cli/cli
/ isLeft
Function
isLeft
pkg/cmd/repo/garden/garden.go:306–310 ·
view source on GitHub ↗
(b []byte)
Source
from the content-addressed store, hash-verified
304
}
305
306
func
isLeft(b []byte) bool {
307
left := []byte{27, 91, 68}
308
r := rune(b[0])
309
return
bytes.EqualFold(b, left) || r ==
'a'
|| r ==
'h'
310
}
311
312
func
isRight(b []byte) bool {
313
right := []byte{27, 91, 67}
Callers
1
gardenRun
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected