pub struct Response { /* private fields */ }
Expand description
A fast forward response. This contains the data to bring us up and running again.
Implementations§
source§impl Response
impl Response
sourcepub fn metadata(&self) -> &Metadata
pub fn metadata(&self) -> &Metadata
Get the metadata of the remote. Use Metadata::changes
to list which you need to add to
the crate::sync::RequestBuilder
.
Use like this: local_public_metadata.changes(ff_response.metadata())
.
Remove the files the changes says needs to be removed and add the rest to the
crate::sync::RequestBuilder::insert
.