Function git_revision::spec::parse
source · [−]Expand description
Parse a git revspec and call delegate for each token
successfully parsed.
Note that the delegate is expected to maintain enough state to lookup revisions properly.
Returns Ok(()) if all of input was consumed, or the error if either the revspec syntax was incorrect or
the delegate failed to perform the request.