parse static method
Parses a commit log item as returned from a git log
item.
Typical log item would be:
commit 40f4x751f83770a4f681c2b40c2d90f33e658d2a
Author: Jane Doe <jane.doe@example.com>
Date: Tue Nov 24 11:49:57 2020 +0100
Review page setup
Will throw an Exception if logItem
is empty.
Implementation
// ignore: prefer_constructors_over_static_methods
static Commit parse(String logItem) {
return _commitParser.parse(logItem);
}