(slug string)
| 857 | } |
| 858 | |
| 859 | func 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 | |
| 866 | func repositoryNotFoundError(slug string) error { |
| 867 | return fmt.Errorf("github: repository %q not found: %w", slug, registry.NewPackageNotFoundError(slug)) |
no outgoing calls
no test coverage detected