MCPcopy Create free account
hub / github.com/idank/explainshell / Extractor

Class Extractor

explainshell/extraction/types.py:136–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134
135@runtime_checkable
136class Extractor(Protocol):
137 def extract(self, gz_path: str) -> ExtractionResult: ...
138
139 def cancel(self) -> None:
140 """Signal the extractor to stop after the current in-flight work
141 completes. Does not abort already in-flight calls, but prevents
142 new ones from being submitted."""
143 ...

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected