(self, abs_path: str)
| 80 | return abs_path in self._cache |
| 81 | |
| 82 | async def _read_file(self, abs_path: str) -> str | None: |
| 83 | try: |
| 84 | loop = asyncio.get_event_loop() |
| 85 | return await loop.run_in_executor(None, self._sync_read, abs_path) |
| 86 | except (OSError, IOError): |
| 87 | return None |
| 88 | |
| 89 | @staticmethod |
| 90 | def _sync_read(path: str) -> str: |