Archive.listLazy

LazyListingRange listLazy() @safe

Returns a lazy input range over the archive's root listing.

Unlike list(), this does not snapshot all entries up-front. It streams entries one-by-one while iterating, keeping memory usage bounded.

Returns

A LazyListingRange that can be iterated with foreach.

Throws

DarException may be thrown lazily during iteration when accessing the

underlying catalog. The method asserts that the archive is valid.