To wire up radicle-cob, it is necessary to implement the traits for the following types: * `Repository`: `change::Storage`, `object::Storage`, and `Store` * `project::Identity`: `identity::Identity` For `Repository`, the `change::Storage` implementation is trivial, as it uses the underlying `git2::Repository` implementation. Then `object::Storage` simply defines the required references names and does lookups or updates. The aforementioned reference naming scheme is: refs/namespaces/<ns>/refs/cobs/<typename>/<object_id> For `project::Identity`, the `identity::Identity` implementation is straight-forward. To finalise the work, a simplified API is exposed as `radicle::cob` where the `create`, `update`, `get`, and `list` functions are redefined in terms of `radicle` specific types. Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com> X-Clacks-Overhead: GNU Terry Pratchett |
||
|---|---|---|
| .github/workflows | ||
| .nix | ||
| radicle | ||
| radicle-cli | ||
| radicle-cob | ||
| radicle-crypto | ||
| radicle-httpd | ||
| radicle-node | ||
| radicle-remote-helper | ||
| radicle-ssh | ||
| radicle-tools | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| README.md | ||
| build.rs | ||
| rust-toolchain | ||
README.md
❤️🪵
Radicle Heartwood Protocol & Stack