Files
heartwood/crates/radicle-cli/tests
Sebastian MartinezandFintan Halpenny 1d7478cd90 radicle: introduce cob::common::Title
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.

Co-authored-by: Fintan Halpenny <fintan.halpenny@gmail.com>
2025-08-19 17:05:33 +02:00
..
2025-08-19 13:16:19 +02:00