Function parse_maybe_bare

Source
pub fn parse_maybe_bare(
    diagnostics: &mut FilesetDiagnostics,
    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.