all repos — litestore @ 5867adfacb26f0c55c5506bbb6b224617b0d1c84

A minimalist nosql document store.

Moved most source files in separate directory.
h3rald h3rald@h3rald.com
Sun, 01 Feb 2015 18:41:36 +0100
commit

5867adfacb26f0c55c5506bbb6b224617b0d1c84

parent

56a0d5f135e28ecc25eb532b8c8cca78ee68f21c

M cli.nimlib/cli.nim

@@ -17,6 +17,7 @@ Options:

-a, --address Specify address (default: 0.0.0.0). -h, --help Display this message. -p, --port Specify port number (default: 70700). + -r, --readonly Allow only data retrieval operations. --pack Pack the specified directory (Store all its contents). --unpack Unpack the previously-packed specified directory to the current directory. -v, --version Display the program version.
M contenttypes.nimlib/contenttypes.nim

@@ -3,7 +3,7 @@

proc loadContentTypes(): StringTableRef = result = newStringTable(modeCaseInsensitive) - const raw_json = "contenttypes.json".slurp + const raw_json = "lib/contenttypes.json".slurp let json = raw_json.parseJson for item in json.items: for pair in item.pairs:
M litestore.nimlitestore.nim

@@ -10,11 +10,11 @@ pegs,

strtabs, base64 import - types, - utils, - core, - cli, - server + lib/types, + lib/utils, + lib/core, + lib/cli, + lib/server from asyncdispatch import runForever