|
| pure logical function, public | is_absolute (filepath) |
| | Returns .true. if the path is absolute. On Unix a path is absolute when it starts with '/'. On Windows a path is absolute when it starts with a drive letter followed by ':\C:\', 'd:/temp').
|
| pure logical function, public | is_rooted (filepath) |
| | Returns .true. if the path is rooted (starts with a separator) or is absolute. A rooted path begins with the platform separator ('\' on Windows, '/' elsewhere) even if it is not a full absolute path (e.g. '/temp' on Linux).
|
| pure character(:) function, allocatable | join_character_character (path1, path2) |
| | Implementation of join for character arguments.
|
| pure character(:) function, allocatable | join_character_string (path1, path2) |
| | Implementation of join for character arguments.
|
| pure character(:) function, allocatable | join_string_character (path1, path2) |
| | Implementation of join for character arguments.
|
| pure character(:) function, allocatable | join_string_string (path1, path2) |
| | Implementation of join for character arguments.
|
| pure subroutine, public | split_path (filepath, head, tail) |
| | Splits a path into head (directory) and tail (basename) components. Special cases:
|
| character(:) function, allocatable, public | cwd () |
| | Returns the current working directory as a deferred-length character string. Returns an empty string if the current directory cannot be determined.
|
| subroutine, public | chdir (path, err) |
| | Changes the current working directory. This is a thin wrapper around the underlying C runtime chdir() implementation.
|