Type Definition git2::build::RemoteCreate [−][src]
pub type RemoteCreate<'cb> = dyn for<'a> FnMut(&'a Repository, &str, &str) -> Result<Remote<'a>, Error> + 'cb;
Expand description
Type of callback passed to RepoBuilder::remote_create
.
The second and third arguments are the remote’s name and the remote’s url.