#radicle #git-commit #git #commit

git-commit

A small library for parsing, displaying and creating a git commit

3 releases (breaking)

0.3.0 Feb 9, 2023
0.2.0 Nov 4, 2022
0.1.0 Nov 4, 2022

#1677 in Development tools

Download history 2/week @ 2024-12-10

401 downloads per month

MIT/Apache and GPL-3.0-or-later

17KB
382 lines

The git-commit crate provides parsing a displaying of a git commit.

The Commit data can be constructed using the FromStr implementation, or by converting from a git2::Buf.

The Headers can be accessed via Commit::headers. If the signatures of the commit are of particular interest, the Commit::signatures method can be used, which returns a series of Signatures.

Dependencies

~12MB
~269K SLoC