Available on crate feature
parse only.Expand description
Parser for git log output using a fixed token format.
Use LOG_FORMAT as --format=<fmt> so log emits stable, parseable
records: fields separated by NUL \x1f (unit separator) and entries
separated by NUL \x1e (record separator).
Structs§
- Commit
Entry - A single parsed commit entry.
Constants§
- LOG_
FORMAT - Format string to pass as
--format=<fmt>so entries parse cleanly.
Functions§
- parse_
log - Parse the output of
git log --format=<LOG_FORMAT>.