Skip to main content

Crate sr_git

Crate sr_git 

Source

Structs§

NativeGitRepository
Git repository implementation backed by native git CLI commands.

Functions§

parse_owner_repo
Extract owner/repo from a git remote URL (convenience wrapper).
parse_remote_url
Extract (hostname, owner, repo) from a git remote URL. Supports SSH (git@hostname:owner/repo.git) and HTTPS (https://hostname/owner/repo.git).