std::vector<PSPFileInfo> MetaFileSystem::GetDirListing(std::string path) { std::string of; IFileSystem *system; if (MapFilePath(path, of, &system)) { return system->GetDirListing(of); } else { std::vector<PSPFileInfo> empty; return empty; } }
std::vector<FileInfo> MetaFileSystem::GetDirListing(std::string path) { std::lock_guard<std::recursive_mutex> guard(lock); std::string of; IFileSystem *system; if (MapFilePath(path, of, &system)) { return system->GetDirListing(of); } else { std::vector<FileInfo> empty; return empty; } }