Skip to main content

PATH_NORMALIZER

Static PATH_NORMALIZER 

Source
pub static PATH_NORMALIZER: LazyLock<Regex>
Expand description

Regex to strip absolute paths from git/rm binaries.

Handles both Unix paths (/path/to/bin/git) and Windows paths (C:/path/to/git.exe). For Windows, matches drive letters (C:) followed by either forward or back slashes.