Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/cli
/ OwnerType
Method
OwnerType
pkg/cmd/project/shared/queries/queries.go:325–327 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
323
}
324
325
func
(p ProjectMutationQuery) OwnerType() string {
326
return
p.Owner.TypeName
327
}
328
329
func
(p ProjectMutationQuery) OwnerLogin() string {
330
if
p.OwnerType() ==
"User"
{
Callers
2
ExportData
Method · 0.95
OwnerLogin
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected