Skip to main content

Module notes

Module notes 

Source
Available on crate feature parse only.
Expand description

Parser for git notes list.

git notes list emits one <note-object-sha> <annotated-object-sha> pair per line (e.g. 5b8d8870... 04190777...). This parser turns that into (note_sha, object_sha) tuples. It is permissive: blank lines are skipped and lines without a second field are ignored rather than erroring.

Functionsยง

parse_notes_list
Parse the output of git notes list.