neithernut/git-dit

Port extract-trailers to rust

Closed this issue · 2 comments

Device on a representation of trailers (as key-value pairs). Simple tuples might suffice.
Add a facility for extracting them from a stream (e.g. iterator of chars). This may be a function to RepositoryExt or (more fancy) a iterator-adapter. Implement extract-trailers based on the function.

Blocks #45.

Do we actually want the subcommand?