Skip to main content

remote_callbacks

Function remote_callbacks 

Source
pub fn remote_callbacks(
    scope: Option<&CredentialScope>,
) -> RemoteCallbacks<'static>
Expand description

The libgit2 callbacks for one network operation: credentials offered to the scope’s origin and refused everywhere else. With no scope, nothing is offered and libgit2 reports the server’s 401 as it is.