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