Documentation
¶
Overview ¶
Package commitextractor provides functions to extract commit hashes and repository URLs from git resolution strings.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NormalizeRepo ¶ added in v0.5.3
NormalizeRepo normalizes various Git URL formats (SSH, HTTPS, git+, tarball archives, shorthands) into a standard HTTPS URL (e.g. "https://github.com/org/repo").
func TryExtractCommit ¶
TryExtractCommit attempts to extract a commit hash from a package resolution string.
func TryExtractRepo ¶ added in v0.5.3
TryExtractRepo extracts and normalizes the repository URL from a package resolution string.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.