radicle-heartwood-lfs/radicle-crdt
Fintan Halpenny 8404b5925d
radicle: force new or initial construction of LWWReg
Using LWWReg::from will always set the clock value to the default,
which can end up being used wrong.

Instead, introduce a constructor method `initial` to indicate that it
should be used on initial construction, while `new` should be used for
newer values of the register.

Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com>
X-Clacks-Overhead: GNU Terry Pratchett
2023-03-31 15:49:55 +02:00
..
src radicle: force new or initial construction of LWWReg 2023-03-31 15:49:55 +02:00
Cargo.toml Add Op ID string formatting 2023-02-04 12:29:50 +01:00