Skip to main content

has_shell_extension

Function has_shell_extension 

Source
fn has_shell_extension(path: &Path) -> bool
Expand description

Whether the file name ends in a shell extension. Trailing spaces and dots are ignored first, because Windows strips them when it opens or launches the path (codex.cmd runs codex.cmd through cmd.exe).