dm_path Module

File system path utility routines.


Used by

  • module~~dm_path~~UsedByGraph module~dm_path dm_path module~dmpack dmpack module~dmpack->module~dm_path

Functions

public pure function dm_path_join(path1, path2) result(path)

Joins paths and adds / between them.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: path1

First path.

character(len=*), intent(in) :: path2

Second path.

Return Value character(len=:), allocatable

Joined path.

public function dm_path_parsed(path) result(parsed)

Returns a parsed path or an empty string on error. The following format descriptors are allowed:

Read more…

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: path

Input path.

Return Value character(len=:), allocatable

Output path.