mrdocs::GlobPattern::create
Constructs a GlobPattern with the given pattern.
Synopses
Declared in <mrdocs/Support/Glob.hpp>
static
Expected<GlobPattern>
create(std::string_view pattern);
Constructs a GlobPattern with the given pattern.
static
Expected<GlobPattern>
create(
std::string_view pattern,
Optional<std::size_t> maxSubGlobs);
Parameters
Name |
Description |
pattern |
The glob pattern to use for matching. |
maxSubGlobs |
The maximum number of subpatterns allowed. If the pattern contains more subpatterns than this value, an error is returned. If not specified, there is no limit. |
Created with MrDocs