Skip to main content

Module path_normalize

Module path_normalize 

Source
Expand description

Secure workspace-relative path normalization (previously perl-path-normalize). Secure workspace-relative path normalization.

This crate performs component-based normalization for paths that may not yet exist on disk. It prevents parent-directory traversal beyond a canonical workspace root.

Enums§

NormalizePathError
Errors produced while normalizing a relative path against a workspace root.

Functions§

normalize_path_within_workspace
Normalize path beneath workspace_root while preventing parent traversal escapes.