tokmd-path
Path normalization helpers for tokmd.
Problem
Cross-platform receipts only stay deterministic if paths normalize the same way on Windows, macOS, and Linux.
What it gives you
normalize_slashes(path: &str) -> Stringnormalize_rel_path(path: &str) -> String
API / usage notes
- Normalize before you derive module keys, compare excludes, or emit output.
- The helpers collapse backslashes and clean relative prefixes without changing the rest of the path.
src/lib.rshas the edge cases and tests.
Go deeper
- Tutorial: tokmd README
- How-to: Recipes
- Reference: Architecture
- Explanation: Design