Skip to main content

create_trust

Function create_trust 

Source
pub fn create_trust(project_dir: &Path) -> Result<(), Error>
Expand description

Enable hook trust by creating the .mana/.hooks-trusted file.

§Returns

  • Ok(()) - Trust file created successfully
  • Err - Failed to create trust file