Function pull

Source
pub fn pull<S>(
    handle: &mut Handle<S>,
    limit: FetchLimit,
    remote: PublicKey,
    refs_at: Option<Vec<RefsAt>>,
) -> Result<FetchResult, Error>
Expand description

Pull changes from the remote.

It is expected that the local peer has a copy of the repository and is pulling new changes. If the repository does not exist, then clone should be used.