Expand description
Git integration for safety checks
Provides functionality to detect uncommitted changes and protect users from accidentally deleting unsaved work.
Structs§
- Protection
Result - Result of a protection check
Enums§
- Protection
Level - Protection level for cleaning operations
Functions§
- check_
artifact_ protection - Check if a specific artifact is safe to clean
- check_
project_ protection - Check if it’s safe to clean a project
- enrich_
with_ git_ status - Add git status to all projects in a list
- find_
repo_ root - Find the git repository root for a path
- get_
git_ status - Check git status for a project directory
- has_
uncommitted_ changes - Quick check if a path has uncommitted changes
- is_
git_ tracked - Check if a specific file/directory is tracked by git