Function jj_lib::fileset::parse_maybe_bare

source ·
pub fn parse_maybe_bare(
    text: &str,
    path_converter: &RepoPathUiConverter,
) -> FilesetParseResult<FilesetExpression>
Expand description

Parses text into FilesetExpression with bare string fallback.

If the text can’t be parsed as a fileset expression, and if it doesn’t contain any operator-like characters, it will be parsed as a file path.