Path manipulation and normalization utilities
This module handles cross-platform path operations including path mapping, separator normalization, and path parsing.
Map Unix-style /tmp paths to Windows-compatible paths
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | path | 
Normalize path separators for the target platform
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | path | |||
| logical, | intent(in) | :: | to_windows | 
Extract parent directory from a path
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | path | 
Parse a path into directory segments
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | path | |||
| character(len=*), | intent(out) | :: | segments(100) | |||
| integer, | intent(out) | :: | n_segments |