Move the pre-migration compress.mq.md content into this repository's package entry. The module leaves the default Bundle and is consumed through the explicit @compress package import; the baseline gzip/gunzip behaviour and the original test terminal value are preserved, and the CLI host ops stay put. Refs cflmy/marqdo#9, cflmy/marqdo-ext-archive#1
15 lines
272 B
Markdown
15 lines
272 B
Markdown
---
|
|
import:
|
|
compress: "@compress"
|
|
---
|
|
|
|
# @exec compress
|
|
|
|
## main
|
|
|
|
**压缩结果 = compress.压缩("hello 世界")**
|
|
|
|
**解压结果 = compress.解压(压缩结果.value)**
|
|
|
|
`return [压缩结果.ok, 长度(压缩结果.value) > 0, 解压结果.ok, 解压结果.value]`
|