Documentation
¶
Overview ¶
Package gitutil provides shared git-related utility functions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddAuthToURL ¶
func AddAuthToURL(url string, conn *repos.Connection) string
AddAuthToURL adds authentication token to a git URL based on connection type. This is the canonical implementation used across the codebase.
func ExtractHost ¶
ExtractHost extracts the host from a URL (e.g., "https://github.com/foo" -> "github.com").
func SanitizeGitOutput ¶
func SanitizeGitOutput(output string, conn *repos.Connection) string
SanitizeGitOutput removes sensitive information (tokens) from git command output.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.