| 498 | } |
| 499 | |
| 500 | bool FileInfo::createDirectory() const |
| 501 | { |
| 502 | try { |
| 503 | fs::path path(stringToPath(FileName)); |
| 504 | return fs::create_directory(path); |
| 505 | } |
| 506 | catch (const fs::filesystem_error&) { |
| 507 | return false; |
| 508 | } |
| 509 | } |
| 510 | |
| 511 | bool FileInfo::createDirectories() const |
| 512 | { |
no outgoing calls
no test coverage detected