Type Definition git2::build::RemoteCreate[][src]

type RemoteCreate<'cb> = FnMut(&'a Repository, &str, &str) -> Result<Remote<'a>, Error> + 'cb;

Type of callback passed to RepoBuilder::remote_create.

The second and third arguments are the remote's name and the remote's url.