MCPcopy Index your code
hub / github.com/idank/explainshell / _extract

Method _extract

tests/extraction/test_runner.py:658–664  ·  view source on GitHub ↗
(gz_path: str)

Source from the content-addressed store, hash-verified

656 ext = MagicMock()
657
658 def _extract(gz_path: str) -> ExtractionResult:
659 with lock:
660 started.append(gz_path)
661 if len(started) == 2:
662 started_two.set()
663 release.wait(timeout=2)
664 return _make_result(gz_path)
665
666 ext.extract.side_effect = _extract
667

Callers

nothing calls this directly

Calls 2

_make_resultFunction · 0.85

Tested by

no test coverage detected