Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/cli/cli
/ expectScopes
Function
expectScopes
pkg/cmd/auth/status/status.go:351–353 ·
view source on GitHub ↗
(token string)
Source
from the content-addressed store, hash-verified
349
}
350
351
func
expectScopes(token string) bool {
352
return
strings.HasPrefix(token,
"ghp_"
) || strings.HasPrefix(token,
"gho_"
)
353
}
354
355
type
buildEntryOptions
struct
{
356
active bool
Callers
1
String
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected