Skip to main content

pre_commit_script

Function pre_commit_script 

Source
pub fn pre_commit_script() -> String
Expand description

Pre-commit hook. Runs the engine against staged changes (lines being ADDED or MODIFIED) and refuses the commit if any line trips a Block rule under the active shieldset.