[examples] Update hello-world
CDB database, add textual dump
This commit is contained in:
parent
bf0d448e04
commit
8f9d0aa167
3 changed files with 48 additions and 1 deletions
Binary file not shown.
42
examples/hello-world.cdb-dump
Normal file
42
examples/hello-world.cdb-dump
Normal file
|
@ -0,0 +1,42 @@
|
|||
|
||||
+14,46
|
||||
schema:version
|
||||
2018-11-20-a--27c59009ca1e08a247b0de12293c9275
|
||||
|
||||
+15,129
|
||||
files:content:/
|
||||
0ba904eae8773b70c75333db4de2f3ac45a8ad4ddba1b242f0b3cfc199391dd8:14502233f65c2825f83664f9e76798e6ccd71d38b75c47d5c45f5c49b72c372a
|
||||
|
||||
+78,189
|
||||
data:metadata:14502233f65c2825f83664f9e76798e6ccd71d38b75c47d5c45f5c49b72c372a
|
||||
Cache-Control: public, immutable, max-age=3600
|
||||
Content-Encoding: identity
|
||||
Content-Type: text/plain; charset=utf-8
|
||||
ETag: 0ba904eae8773b70c75333db4de2f3ac45a8ad4ddba1b242f0b3cfc199391dd8
|
||||
|
||||
|
||||
+77,13
|
||||
data:content:0ba904eae8773b70c75333db4de2f3ac45a8ad4ddba1b242f0b3cfc199391dd8
|
||||
Hello world!
|
||||
|
||||
|
||||
+16,129
|
||||
files:content:/*
|
||||
0ba904eae8773b70c75333db4de2f3ac45a8ad4ddba1b242f0b3cfc199391dd8:14502233f65c2825f83664f9e76798e6ccd71d38b75c47d5c45f5c49b72c372a
|
||||
|
||||
+20,129
|
||||
files:content:/index
|
||||
0ba904eae8773b70c75333db4de2f3ac45a8ad4ddba1b242f0b3cfc199391dd8:14502233f65c2825f83664f9e76798e6ccd71d38b75c47d5c45f5c49b72c372a
|
||||
|
||||
+24,129
|
||||
files:content:/index.txt
|
||||
0ba904eae8773b70c75333db4de2f3ac45a8ad4ddba1b242f0b3cfc199391dd8:14502233f65c2825f83664f9e76798e6ccd71d38b75c47d5c45f5c49b72c372a
|
||||
|
||||
+11,23
|
||||
files:index
|
||||
/
|
||||
/*
|
||||
/index
|
||||
/index.txt
|
||||
|
||||
|
|
@ -527,11 +527,16 @@
|
|||
|
||||
|
||||
<< examples / hello-world / archive
|
||||
exec -- "${ZRUN[@]}" ':: execute / archiver / debug' \
|
||||
"${ZRUN[@]}" ':: execute / archiver / debug' \
|
||||
--sources ./examples/hello-world \
|
||||
--archive ./examples/hello-world.cdb \
|
||||
--debug \
|
||||
#
|
||||
cdb -d -- ./examples/hello-world.cdb \
|
||||
| tr -d '\r' \
|
||||
| sed -r -e 's#^(\+[0-9]+,[0-9]+):(.+?)->#\n\1\n\2\n#' \
|
||||
>| ./examples/hello-world.cdb-dump \
|
||||
#
|
||||
!!
|
||||
|
||||
<< examples / hello-world / serve
|
||||
|
|
Loading…
Reference in a new issue