Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseRepoURL ¶
ParseRepoURL extracts the hosting platform, organization, and repository name from a repository URL. The URL must use HTTPS.
If platformHint is non-empty, it is used as the platform name (for self-hosted instances). If platformHint is empty, the platform is detected from the hostname (github.com → "github", gitlab.com → "gitlab").
func RepoDisplayName ¶
RepoDisplayName extracts the "org/repo" portion from a repository URL for use in human-readable output.
func SanitizeRepoURL ¶
SanitizeRepoURL converts a repository URL into a filesystem-safe name by stripping the scheme and replacing special characters with hyphens.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.