[examples] Add 200 and 404 wildcard documents.

This commit is contained in:
Ciprian Dorin Craciun 2022-08-23 21:21:21 +03:00
parent 8cf6a8df6a
commit fa0ebac986
5 changed files with 71 additions and 10 deletions

Binary file not shown.

View file

@ -1,15 +1,15 @@
+6,14 +6,14
schema schema
kawipiko-2021b kawipiko-2021c
+3,16 +3,16
f:/ f:/
m0000001d0000002 m0000001d0000002
+8,124 +8,140
m0000001 m0000001
h0000017H0000001h000001cH0000003h0000025H000000dh000002bZacobddfe518f2838ec2be25cd23639e9c3129e212d2ea7a116cb8708965aa6f0f11 h0000001H000000dh0000018H0000001h000001dH0000003h0000026H000000fh000002cZacobddfe518f2838ec2be25cd23639e9c3129e212d2ea7a116cb8708965aa6f0f11
+8,13 +8,13
d0000002 d0000002
@ -20,13 +20,13 @@ Hello world!
l:/ l:/
m0000003d0000004 m0000003d0000004
+8,124 +8,140
m0000003 m0000003
h0000017H0000001h000001cH0000003h0000025H0000012h000002bZaco0a562685032c3c6a9f2fff32966d00f9f5482a0a26d97c2e868bc110a1f81614 h0000001H000000dh0000018H0000001h000001dH0000003h0000026H0000014h000002cZaco89ad639022578dd8f69b31dfda4df2ecd48da1ed1809da6ac6f4623a5ff8a959
+8,82 +8,115
d0000004 d0000004
{"entries":[{"name":"index.txt","type":"file","size":13}],"indices":["index.txt"]} {"entries":[{"name":"index.txt","type":"file","size":13},{"name":"tests","type":"folder"}],"indices":["index.txt"]}
+4,16 +4,16
f:/* f:/*
@ -40,16 +40,75 @@ m0000001d0000002
f:/index.txt f:/index.txt
m0000001d0000002 m0000001d0000002
+8,23 +8,16
l:/tests
m0000005d0000006
+8,140
m0000005
h0000001H000000dh0000018H0000001h000001dH0000003h0000026H0000014h000002cZaco9bdc558765f25a06d86e90f2036e2bb3d743c6c2aba4038bccd1ddd90fdbb074
+8,89
d0000006
{"entries":[{"name":"status-200","type":"folder"},{"name":"status-404","type":"folder"}]}
+19,16
l:/tests/status-200
m0000007d0000008
+8,140
m0000007
h0000001H000000dh0000018H0000001h000001dH0000003h0000026H0000014h000002cZaco6e46dd10defc9b56c29a6ec56b508c21f54c08192194e4df25bf36f0c9c3c279
+8,2
d0000008
{}
+21,16
f:/tests/status-200/*
m0000009d000000a
+8,140
m0000009
h0000001H000000dh0000018H0000001h000001dH0000003h0000026H000000fh000002cZaco289220028fc1b56bc1f8afb2b26c9c87b40898409a5c519defc6c15bd4242bcb
+8,17
d000000a
Anything is 200!
+19,16
l:/tests/status-404
m0000007d0000008
+21,16
f:/tests/status-404/*
m000000bd000000c
+8,140
m000000b
h0000001H000000eh0000018H0000001h000001dH0000003h0000026H000000fh000002cZaco09c18884511967b78751fd4614620efa112760d039edecf044a42233701cbb7d
+8,17
d000000c
Anything is 404!
+8,63
F0000001 F0000001
/ /
/* /*
/index /index
/index.txt /index.txt
/tests/status-200/*
/tests/status-404/*
+8,2 +8,45
L0000001 L0000001
/ /
/tests
/tests/status-200
/tests/status-404

View file

@ -0,0 +1 @@
Anything is 200!

View file

@ -0,0 +1 @@
Anything is 404!

View file

@ -6,7 +6,7 @@ package common
const NamespaceSchemaVersion = "schema" const NamespaceSchemaVersion = "schema"
const CurrentSchemaVersion = "kawipiko-2021b" const CurrentSchemaVersion = "kawipiko-2021c"
const NamespaceFilesContent = "files-content" const NamespaceFilesContent = "files-content"