MCPcopy Create free account
hub / github.com/cli/cli / Error

Method Error

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

Source from the content-addressed store, hash-verified

337}
338
339func (e *noReleasesError) Error() string { return e.reason }
340
341func resolveLatestRelease(client *api.Client, host, owner, repo string) (*ResolvedRef, error) {
342 apiPath, err := safeurl.JoinPath("repos", owner, repo, "releases", "latest")

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