TreeEntry.fromLsTree constructor
TreeEntry.fromLsTree(
- String value
Implementation
factory TreeEntry.fromLsTree(String value) {
// TODO: should catch and re-throw a descriptive error
final match = _lsTreeRegEx.allMatches(value).single;
return TreeEntry(match[1]!, match[2]!, match[3]!, match[4]!);
}