Skip to main content

GitBranchRemoteAddFn

Type Alias GitBranchRemoteAddFn 

Source
pub type GitBranchRemoteAddFn = fn(gitdir: &Path, name: &str, url: &str) -> Result<RemoteAddOutcome, BackendError>;
Expand description

Engine::remote_add dispatch — configures a named remote on the mem-repo gitdir (upsert: add, or set-url when it already exists).