B:BD[
7.11453] → [
2.44:86]
let id = self.get_id(txn).await?;
let id = if let Some(id) = self.get_id(txn).await? {
id
} else {
let (inodes, theirs_ge_dichotomy) = self.download_changelist_nocache(0, path).await?;
let mut theirs_ge_dichotomy_set = HashSet::new();
let mut to_download = Vec::new();
for (_, h, _) in theirs_ge_dichotomy.iter() {
theirs_ge_dichotomy_set.insert(*h);
to_download.push(*h);
}
return Ok(RemoteDelta {
inodes,
remote_ref: None,
to_download,
ours_ge_dichotomy_set: HashSet::new(),
theirs_ge_dichotomy,
theirs_ge_dichotomy_set,
remote_unrecs: Vec::new(),
});
};