Skip to main content

is_windows_path

Function is_windows_path 

Source
pub fn is_windows_path(path: &str) -> bool
Expand description

Check if a path looks like a Windows path.

Returns true for:

  • Drive letter paths: C:\...
  • UNC paths: \\wsl$\..., \\server\share\...