(client *api.Client, host string)
| 44 | } |
| 45 | |
| 46 | func getUserPublicKey(client *api.Client, host string) (*PubKey, error) { |
| 47 | return getPubKey(client, host, "user/codespaces/secrets/public-key") |
| 48 | } |
| 49 | |
| 50 | func getRepoPubKey(client *api.Client, repo ghrepo.Interface, app shared.App) (*PubKey, error) { |
| 51 | return getPubKey(client, repo.RepoHost(), fmt.Sprintf("repos/%s/%s/secrets/public-key", |