|
| subroutine, public | cp_files::close_file (unit_number, file_status) |
| | Closes an open file given by its logical unit number.
|
| subroutine, public | cp_files::open_file (file_name, unit_number, file_status, file_form, file_action, file_position, file_pad, file_access, debug) |
| | Opens a file and returns its logical unit number.
|
| logical function, public | cp_files::file_exists (file_name) |
| | Checks if a file exists, considering also the file discovery mechanism.
|
| character(len=default_path_length) function, public | cp_files::discover_file (file_name) |
| | Searches for a file in the current directory and then in the data directory.
|
| character(len=default_path_length) function, public | cp_files::get_data_dir () |
| | Returns path of data directory if set, otherwise an empty string.
|
| character(len=default_path_length) function, public | cp_files::get_compile_dir () |
| | Returns the build directory.
|
| character(len=default_path_length) function, public | cp_files::join_paths (path1, path2) |
| | Joins two file paths, inserting '/' as needed.
|