File system operations module
This module handles file and directory operations with security restrictions to prevent unauthorized filesystem access.
Create directory with comprehensive security validation Issue #903: Allow legitimate user directories while preserving security
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | path | |||
| logical, | intent(out) | :: | success |
SECURITY: File deletion disabled for security compliance
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | filename | |||
| logical, | intent(out) | :: | success |
Check if a directory exists using inquire
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | path | |||
| logical, | intent(out) | :: | exists |
Create a single directory level - robust cross-platform method
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | path | |||
| logical, | intent(out) | :: | success |
Recursively create directory path including parent directories
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | path | |||
| logical, | intent(out) | :: | success |