Skip to main content

pre_push_hook_path

Function pre_push_hook_path 

Source
pub fn pre_push_hook_path(auths_home: &Path) -> PathBuf
Expand description

Path of the managed pre-push hook file under auths_home.

Args:

  • auths_home: The auths data directory (~/.auths or a CI registry path).

Usage:

let hook = pre_push_hook_path(&auths_home);