Expand description
Core types and utilities for dependency resolution.
This module provides shared types, context structures, and helper functions used throughout the resolver. It consolidates:
- Resolution context and core shared state
- Context structures for different resolution phases
- Pure helper functions for dependency manipulation
Structs§
- Manifest
Override - Stores override information from manifest dependencies.
- Override
Key - Key for override index lookup.
- Pattern
Context - Context for pattern expansion operations.
- Resolution
Context - Base resolution context with immutable shared state.
- Resolution
Core - Core shared context for dependency resolution.
- Transitive
Context - Context for transitive dependency resolution.
Functions§
- apply_
manifest_ override - Apply manifest overrides to a resource dependency.
- build_
resource_ id - Builds a resource identifier in the format
source:path. - compute_
dependency_ variant_ hash - Compute the variant inputs hash from a
ResourceDependency. - extract_
filename_ from_ path - Extracts the filename from a path.
- format_
dependency_ with_ version - Formats a dependency reference with version suffix.
- format_
dependency_ without_ version - Formats a dependency reference without version suffix.
- normalize_
lookup_ path - Normalizes a path by stripping leading
./prefix. - strip_
resource_ type_ directory - Strips resource type directory prefix from a path.
Type Aliases§
- Dependency
Key - Type alias for dependency keys used in resolution maps.
- Manifest
Override Index - Override index mapping resource identities to their manifest customizations.