Documentation
¶
Overview ¶
Package git provides helpers for reading diffs, staged changes, and commit history used by the scanning engine for different scan modes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RepoMetadata ¶
RepoMetadata returns (repo, commit, branch) best-effort for the given root. Empty strings are returned on failure. It avoids heavy git calls and uses simple plumbing to remain fast in CI.
Types ¶
Click to show internal directories.
Click to hide internal directories.