Skip to main content

normalize_scan_input

Function normalize_scan_input 

Source
pub fn normalize_scan_input(p: &Path) -> String
Expand description

Normalize a path to forward slashes and strip leading ./ for cross-platform stability.

This is the canonical normalization function for scan inputs. Use this before storing paths in receipts to ensure consistent output across OS.