Raxol.PreCommit.GitHelper (Raxol v2.0.1)
View SourceOptimized Git operations for pre-commit checks.
Provides cached and batched Git operations to improve performance.
Summary
Functions
Returns a specification to start this module under a supervisor.
Clear the git cache.
Get staged files of specific types efficiently.
Get all staged files, with caching and filtering.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
Clear the git cache.
Get staged files of specific types efficiently.
Get all staged files, with caching and filtering.
Options:
- extensions: List of file extensions to filter (e.g., [".ex", ".exs"])
- exclude_paths: List of path patterns to exclude