Module types

Module types 

Source
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§

ManifestOverride
Stores override information from manifest dependencies.
OverrideKey
Key for override index lookup.
PatternContext
Context for pattern expansion operations.
ResolutionContext
Base resolution context with immutable shared state.
ResolutionCore
Core shared context for dependency resolution.
TransitiveContext
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§

DependencyKey
Type alias for dependency keys used in resolution maps.
ManifestOverrideIndex
Override index mapping resource identities to their manifest customizations.