| 348 | } |
| 349 | |
| 350 | bool isFile(const std::string& path) { |
| 351 | auto lock = getLock(path)->asScopedLock(); |
| 352 | lock.lock(); |
| 353 | return access(path.c_str(), F_OK) == 0; |
| 354 | } |
| 355 | |
| 356 | bool isDirectory(const std::string& path) { |
| 357 | auto lock = getLock(path)->asScopedLock(); |
no test coverage detected