MCPcopy Create free account
hub / github.com/elastio/devx / install_hook

Function install_hook

xtask/src/pre_commit.rs:11–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9}
10
11pub fn install_hook() -> Result<()> {
12 devx_pre_commit::install_self_as_hook(crate::project_root_dir())?;
13 Ok(())
14}

Callers 1

mainFunction · 0.85

Calls 2

install_self_as_hookFunction · 0.85
project_root_dirFunction · 0.85

Tested by

no test coverage detected