windows_long_path

Function windows_long_path 

Source
pub fn windows_long_path(path: &Path) -> PathBuf
Expand description

No-op implementation of windows_long_path for non-Windows platforms.

On Unix-like systems (macOS, Linux, BSD), there is no equivalent to Windows’ 260-character path limitation, so this function simply returns the input path unchanged.

§Arguments

  • path - The path to return unchanged

§Returns

The original path as a PathBuf

§See Also

  • The Windows implementation for details on long path handling