mrdocs::PathGlobPattern::create

Constructs a PathGlobPattern with the given pattern.

Synopses

Declared in <mrdocs/Support/Glob.hpp>

Constructs a PathGlobPattern with the given pattern.

static
Expected<PathGlobPattern>
create(std::string_view const pattern);

Constructs a PathGlobPattern with the given pattern.

static
Expected<PathGlobPattern>
create(
    std::string_view const pattern,
    Optional<std::size_t> maxSubGlobs);

Parameters

Name Description

pattern

The glob pattern to use for matching.

maxSubGlobs

The maximum number of subpatterns allowed.

Created with MrDocs