Skip to main content

process_same_executable_path

Function process_same_executable_path 

Source
pub fn process_same_executable_path(actual: &Path, expected: &Path) -> bool
Expand description

Whether two spellings name the same executable image on this host.

This host’s paths are case-sensitive and distinguish nothing else, so once both sides are resolved the comparison is exact. A path that cannot be canonicalised is compared as written rather than treated as a mismatch, because “the file moved” and “the caller lacks permission to resolve it” arrive here identically.