fn for_default() -> Fallible<Option<Self>> {
        let path = volta_home()?.default_hooks_file();
        let hooks_config = Self::from_file(&path)?;

        if hooks_config.is_some() {
            debug!("Found user hooks in '{}'", path.display());
        }

        Ok(hooks_config)
    }
/// Returns the per-user hooks, loaded from the filesystem.
Returns the per-user hooks, loaded from the filesystem.
Returns the per - user hooks loaded from the filesystem .
fn for_default() -> Fallible<Option<Self>> {
        let path = volta_home()?.default_hooks_file();
        let hooks_config = Self::from_file(&path)?;
        if hooks_config.is_some() {
            debug!("Found user hooks in '{}'", path.display());
        }
        Ok(hooks_config)
    }
fn for_default ( ) -> Fallible < Option < Self > > { let path = volta_home ( ) ? . default_hooks_file ( ) ; let hooks_config = Self :: from_file ( & path ) ? ; if hooks_config . is_some ( ) { debug ! ( " " path display ( ) ) ; } Ok ( hooks_config ) }
Returns the per-user hooks, loaded from the filesystem.
Returns the per - user hooks loaded from the filesystem .