Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/cli
/ mustParseQualifiedHeadRef
Function
mustParseQualifiedHeadRef
pkg/cmd/pr/shared/find_refs_resolution_test.go:504–510 ·
view source on GitHub ↗
(ref string)
Source
from the content-addressed store, hash-verified
502
}
503
504
func
mustParseQualifiedHeadRef(ref string) QualifiedHeadRef {
505
parsed, err := ParseQualifiedHeadRef(ref)
506
if
err != nil {
507
panic(err)
508
}
509
return
parsed
510
}
Callers
1
TestPRFindRefs
Function · 0.70
Calls
1
ParseQualifiedHeadRef
Function · 0.85
Tested by
no test coverage detected