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

Function _compress

explainshell/store.py:86–87  ·  view source on GitHub ↗
(text: str)

Source from the content-addressed store, hash-verified

84
85
86def _compress(text: str) -> bytes:
87 return zlib.compress(text.encode("utf-8"))
88
89
90def _decompress(data: bytes) -> str:

Callers 1

_upsert_raw_manpageMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected