Module resource_iterator

Module resource_iterator 

Source
Expand description

Resource iteration and collection utilities for parallel installation

This module provides unified abstractions for working with multiple resource types, enabling efficient parallel processing and reducing code duplication. It supports the new installer architecture by providing iteration utilities that work seamlessly with the worktree-based parallel installation system.

§Features

  • Type-safe iteration: Work with all resource types through unified interfaces
  • Parallel processing support: Optimized for concurrent resource handling
  • Target directory resolution: Maps resource types to their installation directories
  • Resource lookup: Fast lookup of resources by name across all types

§Use Cases

  • Installation: Collecting all resources for parallel installation
  • Updates: Finding specific resources for selective updates
  • Validation: Iterating over all resources for consistency checks
  • Reporting: Gathering statistics across all resource types

Structs§

ResourceIterator
Iterator utilities for working with resources across all types

Traits§

ResourceTypeExt
Extension trait for ResourceType that adds lockfile and manifest operations