Expand description
Path mapping and sandboxing system.
This module provides a configurable path prefix mapping system that:
- Maps custom prefixes (e.g.,
home:,project:,media:) to configured paths - Enforces lowercase prefixes
- Optionally maps Windows drive letters
- Sandboxes paths to prevent escape above root
- Is pure string manipulation (no filesystem I/O)
- Provides reverse translation API to get actual filesystem paths
Structs§
- Path
Mapper - Pure string-based path mapper. No filesystem I/O.
Type Aliases§
- Path
Result - Result type for path operations.