bool MetaFileSystem::RmDir(const std::string &dirname) { std::string of; IFileSystem *system; if (MapFilePath(dirname, of, &system)) { return system->RmDir(of); } else { return false; } }
bool MetaFileSystem::RmDir(const std::string &dirname) { std::lock_guard<std::recursive_mutex> guard(lock); std::string of; IFileSystem *system; if (MapFilePath(dirname, of, &system)) { return system->RmDir(of); } else { return false; } }