Affected by GO-2022-0395
and 4 other vulnerabilities
GO-2022-0395: GitHub CLI can execute a git binary from the current directory in github.com/cli/cli
GO-2024-3269: Connecting to a malicious Codespaces via GH CLI could allow command execution on the user's computer in github.com/cli/cli
GO-2024-3296: Recursive repository cloning can leak authentication tokens to non-GitHub submodule hosts in github.com/cli/cli
GO-2024-3310: Downloading malicious GitHub Actions workflow artifact results in path traversal vulnerability in github.com/cli/cli
GO-2025-3467: `gh attestation verify` returns incorrect exit code during verification if no attestations are present in github.com/cli/cli

The highest tagged major version is
v2.
package
Version:
v0.6.4
Opens a new window with list of versions in this module.
Published: Apr 1, 2020
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
FullName serializes a GitHub repository into an "OWNER/REPO" string
IsSame compares two GitHub repositories
type Interface interface {
RepoName() string
RepoOwner() string
}
Interface describes an object that represents a GitHub repository
FromFullName extracts the GitHub repository inforation from an "OWNER/REPO" string
FromURL extracts the GitHub repository information from a URL
New instantiates a GitHub repository from owner and name arguments
Source Files
¶
Click to show internal directories.
Click to hide internal directories.