Skip to main content

get_remote_callbacks_default

Function get_remote_callbacks_default 

Source
pub fn get_remote_callbacks_default(url: Option<&str>) -> Result<RemoteAuth>
Expand description

Build a RemoteAuth for operations that run before a repo exists (e.g. clone). Mirrors git clone precedence (global + XDG + system), tolerating a missing ~/.gitconfig.