Skip to main content

parse

Function parse 

Source
pub fn parse(src: &str) -> Result<GitGraph, Error>
Expand description

Parse a gitGraph source string into a GitGraph.

§Errors

  • Error::ParseError — missing gitGraph header, checkout of an unknown branch, cherry-pick of an unknown commit id, or a merge of an unknown branch.