| 54 | // ---------------------------------------------------------------------------------------- |
| 55 | |
| 56 | bool directory_exists ( |
| 57 | const std::string& dirname |
| 58 | ) |
| 59 | { |
| 60 | try |
| 61 | { |
| 62 | dlib::directory temp(dirname); |
| 63 | return true; |
| 64 | } |
| 65 | catch (directory::dir_not_found&) |
| 66 | { |
| 67 | return false; |
| 68 | } |
| 69 | } |
| 70 | |
| 71 | // ---------------------------------------------------------------------------------------- |
| 72 |
nothing calls this directly
no outgoing calls
no test coverage detected