(name: str)
| 171 | ) |
| 172 | |
| 173 | def lookup(name: str) -> str: |
| 174 | try: |
| 175 | return store.find_man_page(name)[0].name |
| 176 | except errors.ProgramDoesNotExist: |
| 177 | return "missing" |
| 178 | |
| 179 | # Warm a positive and negative cache entry, then hammer mixed hits, |
| 180 | # misses, cold lookups, and oversized uncached entries concurrently. |
no test coverage detected