| 342 | } |
| 343 | |
| 344 | bool deleteDirectory(const std::string& path) { |
| 345 | auto lock = getLock(path)->asScopedLock(); |
| 346 | lock.lock(); |
| 347 | return rmdir(path.c_str()) == 0; |
| 348 | } |
| 349 | |
| 350 | bool isFile(const std::string& path) { |
| 351 | auto lock = getLock(path)->asScopedLock(); |
no test coverage detected