|
MFC
Exascale flow solver
|
Platform-specific file and directory operations: create, delete, inquire, getcwd, and basename. More...
Functions/Subroutines | |
| impure subroutine | s_create_directory (dir_name) |
| Creates a directory and all its parents if it does not exist. | |
| impure subroutine | s_delete_file (filepath) |
| Deletes a file at the given path using a platform-specific system command. | |
| impure subroutine | s_delete_directory (dir_name) |
| Recursively deletes a directory using a platform-specific system command. | |
| impure subroutine | my_inquire (fileloc, dircheck) |
| Inquires on the existence of a directory. | |
| impure subroutine | s_get_cwd (cwd) |
| Retrieves the current working directory path via the GETCWD intrinsic. | |
| impure subroutine | s_get_basename (dirpath, basename) |
| Extracts the base filename from a directory path using the system basename command. | |
Platform-specific file and directory operations: create, delete, inquire, getcwd, and basename.
| impure subroutine m_compile_specific::my_inquire | ( | character(len=*), intent(in) | fileloc, |
| logical, intent(inout) | dircheck ) |
Inquires on the existence of a directory.
| fileloc | File directory location |
| dircheck | Switch that indicates if directory exists |
Definition at line 55 of file m_compile_specific.f90.
| impure subroutine m_compile_specific::s_create_directory | ( | character(len=*), intent(in) | dir_name | ) |
Creates a directory and all its parents if it does not exist.
| dir_name | Directory path |
Definition at line 17 of file m_compile_specific.f90.
| impure subroutine m_compile_specific::s_delete_directory | ( | character(len=*), intent(in) | dir_name | ) |
Recursively deletes a directory using a platform-specific system command.
Definition at line 41 of file m_compile_specific.f90.
| impure subroutine m_compile_specific::s_delete_file | ( | character(len=*), intent(in) | filepath | ) |
Deletes a file at the given path using a platform-specific system command.
Definition at line 29 of file m_compile_specific.f90.
| impure subroutine m_compile_specific::s_get_basename | ( | character(len=*), intent(in) | dirpath, |
| character(len=*), intent(out) | basename ) |
Extracts the base filename from a directory path using the system basename command.
Definition at line 75 of file m_compile_specific.f90.
| impure subroutine m_compile_specific::s_get_cwd | ( | character(len=*), intent(out) | cwd | ) |
Retrieves the current working directory path via the GETCWD intrinsic.
Definition at line 68 of file m_compile_specific.f90.