Skip to main content

disable_debug

Function disable_debug 

Source
pub fn disable_debug(cwd: &Path) -> Result<(), InstallError>
Expand description

Inverse of enable_debug: clear lfs.customtransfer.<agent>.args.

Idempotent: if the args key is already absent, returns Ok(()) without touching the config file (#210).

ยงErrors

Returns InstallError::Git wrapping any crate::git::GitError from crate::git::config_unset_if_present other than ConfigKeyNotSet (which this helper treats as success).