MCPcopy Create free account
hub / github.com/compozy/agh / privateRepositoryError

Function privateRepositoryError

internal/registry/github/client.go:859–864  ·  view source on GitHub ↗
(slug string)

Source from the content-addressed store, hash-verified

857}
858
859func privateRepositoryError(slug string) error {
860 return fmt.Errorf(
861 "github: repository %q requires authentication; set GITHUB_TOKEN to access private repositories",
862 slug,
863 )
864}
865
866func repositoryNotFoundError(slug string) error {
867 return fmt.Errorf("github: repository %q not found: %w", slug, registry.NewPackageNotFoundError(slug))

Callers 3

fetchLatestReleaseMethod · 0.85
fetchRequestedReleaseMethod · 0.85
fetchReleasePageMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected