Radish alpha
h
rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5
Radicle Heartwood Protocol & Stack
Radicle
Git
radicle: introduce `cob::common::Title`
Merged did:key:z6MkkfM3...sVz5 opened 8 months ago

This patch adds the cob::common::Title struct, this allows instead of using std::str::String or generics and traits for it, to define more precisely what a title should be. It trims the provided string and makes sure it contains no carriage return or new line characters.

Where a std::str::String makes more sense so it’s easier to mutate it, we keep the code as is.

did:key:z6MkkfM3...sVz5 opened with revision fe28492b on base f6f3be43 +366 -187 8 months ago

This patch adds the cob::common::Title struct, this allows instead of using std::str::String or generics and traits for it, to define more precisely what a title should be. It trims the provided string and makes sure it contains no carriage return or new line characters.

Where a std::str::String makes more sense so it’s easier to mutate it, we keep the code as is.

fintohaps pushed revision 2 768adf30 on base f6f3be43 +389 -193 8 months ago

Series of review commits

lorenz pushed revision 3 0bbcf6a1 on base 2a0f6fd3 +389 -193 8 months ago

Rebase, squash in Fintan’s review

lorenz merged revision 0bbcf6a1 at 1d7478cd 8 months ago