radicle: introduce COB stream
Introduce a new stream module to radicle::cob. The purpose of this module is
to provide an API for iterating over a COB’s actions, given a range of commits.
The CobStream trait provides the generic API for implementing and using, while
Stream provides a concrete implementation using the git2 crate.
Introduce a new stream module to radicle::cob. The purpose of this module is
to provide an API for iterating over a COB’s actions, given a range of commits.
The CobStream trait provides the generic API for implementing and using, while
Stream provides a concrete implementation using the git2 crate.
Changes:
- Add TypeName for filtering iteration for the given COB – avoids trying to incorrectly deserialize an identity COB action
- Rename CobHistory to CobRange
- The revwalk range can take a glob, so we use
PatternStringto define all the remote tips for the COB as the end point of the walk - Add specialised stream types for our native COBs
- Add
rad cob actionssubcommand
Changes:
- Stream is for
Ops and notActions - Add helper for inspecting the
Manifestof anEntrywithout loading the wholeEntry
Changes:
- Ensure
alphanumericreturns aStringof lengthsize
Rebased
Remove rad cob ops
Changes:
- Rebased
- Tidied up error module
Changes:
- Removed old file that stuck around during conflict resolution
- Made wording more clear in operations example