Skip to main content

executable_paths_match

Function executable_paths_match 

Source
pub fn executable_paths_match(
    expected: impl AsRef<Path>,
    actual: impl AsRef<Path>,
    options: ExecutableMatchOptions,
) -> Result<bool, PathError>
Expand description

Returns true if two executable paths match under options.

Handles ordinary Windows paths, forward slashes, and optional verbatim prefixes. Does not inspect running processes.

ยงFilesystem access

Only when resolve_existing_symlinks is true.