Expand description
Git context detection implementation.
StructsΒ§
- GitContext
- Git repository context information.
FunctionsΒ§
- detect_
branch π - Detects the current branch name.
- detect_
project_ πid - Detects the project ID from a repository.
- sanitize_
git_ πurl - Sanitizes a git remote URL by removing credentials and normalizing format.
- sanitize_
http_ πurl - Sanitizes an HTTP/HTTPS/Git protocol URL.
- sanitize_
ssh_ πurl - Sanitizes an SSH-format URL (after stripping βgit@β prefix).