radicle-heartwood-lfs/radicle-crdt/src
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
..
clock.rs Add Op ID string formatting 2023-02-04 12:29:50 +01:00
gmap.rs crdt: Implement `GSet` type, based on `GMap` 2023-02-27 17:11:48 +01:00
gset.rs crdt: Implement `GSet` type, based on `GMap` 2023-02-27 17:11:48 +01:00
lib.rs crdt: Implement `GSet` type, based on `GMap` 2023-02-27 17:11:48 +01:00
lwwmap.rs Replace `quickcheck` with `qcheck` 2022-12-04 20:40:54 +01:00
lwwreg.rs radicle: force new or initial construction of LWWReg 2023-03-31 15:49:55 +02:00
lwwset.rs Replace `quickcheck` with `qcheck` 2022-12-04 20:40:54 +01:00
ord.rs Replace `quickcheck` with `qcheck` 2022-12-04 20:40:54 +01:00
redactable.rs Replace `quickcheck` with `qcheck` 2022-12-04 20:40:54 +01:00
test.rs Start integrating new CRDTs into `radicle` crate 2022-11-26 17:13:22 +01:00