Skip to main content

remote_callbacks

Function remote_callbacks 

Source
pub fn remote_callbacks(
    auth: Option<&TransportAuth>,
) -> AppResult<RemoteCallbacks<'static>>
Expand description

Builds remote callbacks from the configured transport auth.

Secret material is exposed via SecretString::expose only here, at the point it is handed to git2::Cred, so plaintext never escapes onto the repository handle or into logs.