Skip to main content

Module git

Module git 

Source
Expand description

Git integration for diff-aware scanning: resolve the files changed against a ref so scan --diff only looks at touched code.

Enums§

GitError

Functions§

changed_files
Files added, modified, copied or renamed relative to base (or to HEAD when base is None, covering both staged and unstaged changes).
repo_root
Absolute path of the repository root containing dir.