Skip to main content

Module matcher

Module matcher 

Source
Expand description

Recovering template parameters from the current working directory.

The pattern is generated from the parsed segments in template order: everything after each placeholder is wrapped in an optional group, so standing anywhere along the template’s path recovers the parameters up to that point, whatever order the placeholders appear in.

Structs§

CwdMatcher
A compiled matcher for one template.
Detected
Parameters recovered from a directory path. Every field is best-effort: only explicit command line arguments produce hard errors.