Skip to main content

Module path

Module path 

Source
Expand description

Canonical path resolution for artifact paths.

Provides a single normalization function that all path consumers share: bundle validation, ownership manifest lookups, sandbox copy, policy checks, and commit reconciliation. This ensures that src/main.rs, ./src/main.rs, src/../src/main.rs, and src/./main.rs all resolve to the same identity.

Paths are always workspace-relative. Absolute paths and traversals that escape the workspace root are rejected.

Enums§

PathError
Errors returned by path normalization.

Functions§

normalize_artifact_path
Normalize a workspace-relative artifact path to its canonical form.
normalize_path_key
Normalize a path for use as a map key (ownership manifest, bundle dedup).