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:291–293 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
289
}
290
291
func
(p Project) OwnerType() string {
292
return
p.Owner.TypeName
293
}
294
295
func
(p Project) OwnerLogin() string {
296
if
p.OwnerType() ==
"User"
{
Callers
2
ExportData
Method · 0.95
OwnerLogin
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected