Function tor_dirmgr::docid::partition_by_type

source ยท
pub(crate) fn partition_by_type<T>(collection: T) -> HashMap<DocType, DocQuery>
where T: IntoIterator<Item = DocId>,
Expand description

Given a list of DocId, split them up into queries, by type.