Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/cli
/ isREST
Method
isREST
script/ghmock/schemacmd.go:26–28 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
24
}
25
26
func
(o schemaOptions) isREST() bool {
27
return
strings.Contains(o.name,
" "
)
28
}
29
30
func
parseSchemaArgs(args []string) (schemaOptions, error) {
31
var
opts schemaOptions
Callers
2
parseSchemaArgs
Function · 0.95
cmdSchema
Function · 0.80
Calls
1
Contains
Method · 0.80
Tested by
no test coverage detected