Module path

Module path 

Source
Expand description

Path translation module - converts file paths between operating systems

This module provides bidirectional path translation between Windows and Unix-like operating systems, handling path separators, drive letters, and common path mappings.

Structs§

PathTranslation
Result of a path translation

Enums§

PathError
Errors that can occur during path translation

Functions§

is_unix_path
Check if a path looks like a Unix path
is_windows_path
Check if a path looks like a Windows path
translate_path
Translate a file path between operating systems
translate_path_auto
Auto-detect the path format and translate to the target OS
translate_path_str
Translate a path with string OS names
translate_paths
Batch translate multiple paths