Skip to main content

trusted_executable

Function trusted_executable 

Source
pub fn trusted_executable(
    trusted: &[PathBuf],
    observed: &str,
    windows: bool,
) -> bool
Expand description

Windows reports C:\... while canonical paths are \\?\C:\..., and file names are case-insensitive.