radicle-heartwood-lfs/radicle-cob/src/test
Vincenzo Palazzo b29321dbf7
cob: Fix recursion bug in TryFrom of Reference
This commit addresses the issue of recursion in the TryFrom
call of Reference by resolving the parent in a lazy way.

Due to constraints posed by the need to access `git2::Repository`
or `git2::Commit` to resolve the parent, this commit decides to
pull out the parent resolution logic from the `cob::object::Commit`
module and move it inside the `cob::store::Store` implementation by adding
a new method `parents_of`.

Suggested-by: Fintan Halpenny <fintan.halpenny@gmail.com>
Tested-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
2023-05-09 10:11:36 +02:00
..
identity cob: Don't require a local fork to exist 2023-03-01 15:40:30 +01:00
arbitrary.rs Replace `quickcheck` with `qcheck` 2022-12-04 20:40:54 +01:00
identity.rs radicle-cob: port collaborative objects 2022-11-04 16:11:18 +00:00
storage.rs cob: Fix recursion bug in TryFrom of Reference 2023-05-09 10:11:36 +02:00