| 336 | } |
| 337 | |
| 338 | bool deleteFile(const std::string& path) { |
| 339 | auto lock = getLock(path)->asScopedLock(); |
| 340 | lock.lock(); |
| 341 | return remove(path.c_str()) == 0; |
| 342 | } |
| 343 | |
| 344 | bool deleteDirectory(const std::string& path) { |
| 345 | auto lock = getLock(path)->asScopedLock(); |
no test coverage detected