0.6.2-dev0
FORCES
FORtran lib for Comp. Env. Sys.
Loading...
Searching...
No Matches
mo_os::path_join Interface Reference

Join given path segments with separator if needed. More...

Public Member Functions

character(:) function, allocatable path_join_char_opt (p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16)
 Join given path segments with separator if needed.
 
character(:) function, allocatable path_join_arr (paths)
 Join given path segments with separator if needed.
 

Detailed Description

Join given path segments with separator if needed.

If a segment is an absolute path, the previous ones will be ignored.

Author
Sebastian Müller
Date
Mar 2023

Definition at line 49 of file mo_os.F90.

Member Function/Subroutine Documentation

◆ path_join_arr()

character(:) function, allocatable mo_os::path_join::path_join_arr ( character(len=*), dimension(:), intent(in)  paths)

Join given path segments with separator if needed.

If a segment is an absolute path, the previous ones will be ignored.

Author
Sebastian Müller
Date
Mar 2023
Parameters
[in]pathsgiven paths
Returns
joined paths

Definition at line 663 of file mo_os.F90.

References mo_message::error_message(), mo_message::message(), and mo_os::path_join_char().

Here is the call graph for this function:

◆ path_join_char_opt()

character(:) function, allocatable mo_os::path_join::path_join_char_opt ( character(len=*), intent(in)  p1,
character(len=*), intent(in), optional  p2,
character(len=*), intent(in), optional  p3,
character(len=*), intent(in), optional  p4,
character(len=*), intent(in), optional  p5,
character(len=*), intent(in), optional  p6,
character(len=*), intent(in), optional  p7,
character(len=*), intent(in), optional  p8,
character(len=*), intent(in), optional  p9,
character(len=*), intent(in), optional  p10,
character(len=*), intent(in), optional  p11,
character(len=*), intent(in), optional  p12,
character(len=*), intent(in), optional  p13,
character(len=*), intent(in), optional  p14,
character(len=*), intent(in), optional  p15,
character(len=*), intent(in), optional  p16 
)

Join given path segments with separator if needed.

If a segment is an absolute path, the previous ones will be ignored.

Author
Sebastian Müller
Date
Mar 2023
Parameters
[in]p1initial path
Returns
joined paths

Definition at line 632 of file mo_os.F90.

References mo_string_utils::endswith(), and mo_os::path_join_char().

Here is the call graph for this function:

The documentation for this interface was generated from the following file: