Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/cli/cli
/ isImmediatelyMergeable
Function
isImmediatelyMergeable
pkg/cmd/pr/merge/merge.go:763–770 ·
view source on GitHub ↗
(status string)
Source
from the content-addressed store, hash-verified
761
}
762
763
func
isImmediatelyMergeable(status string) bool {
764
switch
status {
765
case
MergeStateStatusClean, MergeStateStatusHasHooks, MergeStateStatusUnstable:
766
return
true
767
default:
768
return
false
769
}
770
}
Callers
1
NewMergeContext
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected