MCPcopy Index your code
hub / github.com/cli/cli / Error

Method Error

internal/skills/discovery/discovery.go:323–323  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

321}
322
323func (e *noReleasesError) Error() string { return e.reason }
324
325func resolveLatestRelease(client *api.Client, host, owner, repo string) (*ResolvedRef, error) {
326 apiPath := fmt.Sprintf("repos/%s/%s/releases/latest", url.PathEscape(owner), url.PathEscape(repo))

Callers 15

TestFindByIDFunction · 0.45
TestInstallDirFunction · 0.45
TestParseMetadataRepoFunction · 0.45
TestParseFunction · 0.45
TestInstallLocalFunction · 0.45
TestInstallSkillFunction · 0.45
TestInstallFunction · 0.45
TestResolveRefFunction · 0.45
TestFetchBlobFunction · 0.45
TestFetchRepoVisibilityFunction · 0.45
TestDiscoverSkillsFunction · 0.45

Calls

no outgoing calls

Tested by 15

TestFindByIDFunction · 0.36
TestInstallDirFunction · 0.36
TestParseMetadataRepoFunction · 0.36
TestParseFunction · 0.36
TestInstallLocalFunction · 0.36
TestInstallSkillFunction · 0.36
TestInstallFunction · 0.36
TestResolveRefFunction · 0.36
TestFetchBlobFunction · 0.36
TestFetchRepoVisibilityFunction · 0.36
TestDiscoverSkillsFunction · 0.36