* @brief Removes the file. * * @return true if the file was removed successfully, false otherwise. */
| 231 | * @return true if the file was removed successfully, false otherwise. |
| 232 | */ |
| 233 | inline bool remove() |
| 234 | { |
| 235 | _error = (unlink(_filePath.c_str()) == -1) ? errno : 0; |
| 236 | return _error == 0; |
| 237 | } |
| 238 | |
| 239 | #ifdef __APPLE__ |
| 240 | /** |
nothing calls this directly
no outgoing calls
no test coverage detected