PSPFileInfo MetaFileSystem::GetFileInfo(std::string filename) { std::string of; IFileSystem *system; if (MapFilePath(filename, of, &system)) { return system->GetFileInfo(of); } else { PSPFileInfo bogus; // TODO return bogus; } }
FileInfo MetaFileSystem::GetFileInfo(std::string filename) { std::lock_guard<std::recursive_mutex> guard(lock); std::string of; IFileSystem *system; if (MapFilePath(filename, of, &system)) { return system->GetFileInfo(of); } else { FileInfo bogus; // TODO return bogus; } }