
Basic unit renamed from Note to Text. New modular text-parser, internal to Logarion, for generic notation parsing. The default input format is now a much plainer text. Eliminated Meta module and generally lib/ modules. New Store interface, with additional information from Store. For example the converter can now check filesystem dates. Changed to filesystem hardlinks for tracking publications & indexing, instead of categories. New commands `publish [-i]` and `deindex [-u]`. Categories are ignored now. Logarion created texts have part of the UUID instead of a counter in their filename. New -i, --interactive flag for interactive creation & publication. Logarion's index re-written in Messagepack format. Removed `indices` command. They are generated during `convert`.
10 lines
309 B
OCaml
10 lines
309 B
OCaml
let random_state = Random.State.make_self_init ()
|
|
type t = Uuidm.t
|
|
let compare = Uuidm.compare
|
|
let to_string = Uuidm.to_string
|
|
let of_string = Uuidm.of_string
|
|
let to_bytes = Uuidm.to_bytes
|
|
let of_bytes = Uuidm.of_bytes
|
|
let generate ?(random_state=random_state) = Uuidm.v4_gen random_state
|
|
let nil = Uuidm.nil
|