Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/cli
/ downloadError
Method
downloadError
script/ghmock/schemafiles.go:161–164 ·
view source on GitHub ↗
(err error)
Source
from the content-addressed store, hash-verified
159
}
160
161
func
(s schemaSource) downloadError(err error) error {
162
return
fmt.Errorf(
"downloading GitHub's %s from %s: %w (without network access, set %s to a local copy)"
,
163
s.label, s.url, err, s.envVar)
164
}
Callers
1
download
Method · 0.95
Calls
1
Errorf
Method · 0.65
Tested by
no test coverage detected