radicle-heartwood-lfs/radicle
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 Add `Patch`, `Issue`, `Label` COBs 2022-11-14 12:40:00 +01:00