Crate git_branchless_revset

Source
Expand description

Parser and evaluator for a “revset”-like language, as in Mercurial and Jujutsu.

Enums§

Expr
A node in the parsed AST.

Functions§

check_revset_syntax
Check for syntax errors in the provided revsets without actually evaluating them.
eval
Evaluate the provided revset expression.
parse
Parse a string representing a revset expression into an Expr.
resolve_commits
Parse strings which refer to commits, such as:
resolve_default_smartlog_commits
Resolve the set of commits that would appear in the smartlog by default (if the user doesn’t specify a revset).