radicle-heartwood-lfs/radicle/src
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
..
cob Add `rad-issue` command 2022-11-16 16:28:31 +01:00
identity Add `rad-inspect` command 2022-11-14 12:23:24 +01:00
node Implement proper `node::Features` type 2022-10-07 22:49:58 +02:00
storage Add TypeName & ObjectId parser 2022-11-17 17:42:21 +00:00
test Add `rad-init` command 2022-11-07 22:01:49 +01:00
cob.rs Implement `rad-patch` 2022-11-16 12:07:19 +01:00
collections.rs Split repository into two creates 2022-09-21 15:11:17 +02:00
git.rs Add TypeName & ObjectId parser 2022-11-17 17:42:21 +00:00
hash.rs Split repository into two creates 2022-09-21 15:11:17 +02:00
identity.rs Implement correct `did:key` format 2022-10-17 16:37:06 +02:00
lib.rs Various fixes to COBs 2022-11-14 12:40:00 +01:00
node.rs Make `track` functions return correctly 2022-11-09 13:29:54 +01:00
profile.rs Add `Patch`, `Issue`, `Label` COBs 2022-11-14 12:40:00 +01:00
rad.rs Implement `rad-patch` 2022-11-16 12:07:19 +01:00
serde_ext.rs Split repository into two creates 2022-09-21 15:11:17 +02:00
sql.rs radicle-crypto: split out from radicle 2022-10-27 20:40:39 +01:00
storage.rs Implement `rad-patch` 2022-11-16 12:07:19 +01:00
test.rs Add `Patch`, `Issue`, `Label` COBs 2022-11-14 12:40:00 +01:00