radicle-heartwood-lfs/radicle-cob
Fintan Halpenny a985e067a5
Add TypeName & ObjectId parser
Added the `parse_refname` function for parsing a reference into its
`TypeName` and `ObjectId`, if possible.

This replaces the `cob_suffix` function in `radicle`.

This change also fixes the `FromStr` instance of `ObjectId` to use
`from_str` instead of `TryFrom` for bytes.

Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com>
X-Clacks-Overhead: GNU Terry Pratchett
2022-11-17 17:42:21 +00:00
..
src Add TypeName & ObjectId parser 2022-11-17 17:42:21 +00:00
Cargo.toml radicle-cob: port collaborative objects 2022-11-04 16:11:18 +00:00