Function git_pack::data::output::count::objects_unthreaded[][src]

pub fn objects_unthreaded<Find, IterErr, Oid>(
    db: Find,
    (pack_cache, obj_cache): (&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<Error<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.