diff --git a/examples/hello-world.cdb b/examples/hello-world.cdb index 1cced2d..62d7f77 100644 Binary files a/examples/hello-world.cdb and b/examples/hello-world.cdb differ diff --git a/examples/hello-world.cdb-dump b/examples/hello-world.cdb-dump index 976f410..191560a 100644 --- a/examples/hello-world.cdb-dump +++ b/examples/hello-world.cdb-dump @@ -1,15 +1,15 @@ +6,14 schema -kawipiko-2021b +kawipiko-2021c +3,16 f:/ m0000001d0000002 -+8,124 ++8,140 m0000001 -h0000017H0000001h000001cH0000003h0000025H000000dh000002bZacobddfe518f2838ec2be25cd23639e9c3129e212d2ea7a116cb8708965aa6f0f11 +h0000001H000000dh0000018H0000001h000001dH0000003h0000026H000000fh000002cZacobddfe518f2838ec2be25cd23639e9c3129e212d2ea7a116cb8708965aa6f0f11 +8,13 d0000002 @@ -20,13 +20,13 @@ Hello world! l:/ m0000003d0000004 -+8,124 ++8,140 m0000003 -h0000017H0000001h000001cH0000003h0000025H0000012h000002bZaco0a562685032c3c6a9f2fff32966d00f9f5482a0a26d97c2e868bc110a1f81614 +h0000001H000000dh0000018H0000001h000001dH0000003h0000026H0000014h000002cZaco89ad639022578dd8f69b31dfda4df2ecd48da1ed1809da6ac6f4623a5ff8a959 -+8,82 ++8,115 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 f:/* @@ -40,16 +40,75 @@ m0000001d0000002 f:/index.txt 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 / /* /index /index.txt +/tests/status-200/* +/tests/status-404/* -+8,2 ++8,45 L0000001 / +/tests +/tests/status-200 +/tests/status-404 diff --git a/examples/hello-world/tests/status-200/_200.txt b/examples/hello-world/tests/status-200/_200.txt new file mode 100644 index 0000000..68b9fe8 --- /dev/null +++ b/examples/hello-world/tests/status-200/_200.txt @@ -0,0 +1 @@ +Anything is 200! diff --git a/examples/hello-world/tests/status-404/_404.txt b/examples/hello-world/tests/status-404/_404.txt new file mode 100644 index 0000000..f74d403 --- /dev/null +++ b/examples/hello-world/tests/status-404/_404.txt @@ -0,0 +1 @@ +Anything is 404! diff --git a/sources/lib/common/namespaces.go b/sources/lib/common/namespaces.go index f025ee7..5b09118 100644 --- a/sources/lib/common/namespaces.go +++ b/sources/lib/common/namespaces.go @@ -6,7 +6,7 @@ package common const NamespaceSchemaVersion = "schema" -const CurrentSchemaVersion = "kawipiko-2021b" +const CurrentSchemaVersion = "kawipiko-2021c" const NamespaceFilesContent = "files-content"