Function git_odb::data::output::count::objects_unthreaded [−][src]
pub fn objects_unthreaded<Find, IterErr, Oid>(
db: Find,
(&mut impl DecodeEntry, &mut impl Object),
object_ids: impl Iterator<Item = Result<Oid, IterErr>>,
progress: impl Progress,
should_interrupt: &AtomicBool,
input_object_expansion: ObjectExpansion
) -> Result<(Vec<Count, Global>, Outcome), Error<Error<<Find as Find>::Error>, IterErr>> where
Find: Find + Send + Sync,
Oid: Into<ObjectId> + Send,
IterErr: Error + Send, Expand description
Like objects() but using a single thread only to mostly save on the otherwise required overhead.