aboutsummaryrefslogtreecommitdiff
path: root/mod/build-config.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-11-30 16:51:48 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-11-30 16:51:48 +0200
commit8cadbb231884427d6b16b75ca921f722d4dd61c8 (patch)
treefc90b22b7d23681a72dfe1d0e68dad5cfa78350d /mod/build-config.hxx
parentf3d3143aa67d1d038f5eee1103c2b783d54955c4 (diff)
Minor naming change
Diffstat (limited to 'mod/build-config.hxx')
-rw-r--r--mod/build-config.hxx16
1 files changed, 9 insertions, 7 deletions
diff --git a/mod/build-config.hxx b/mod/build-config.hxx
index a6f9902..17fd6af 100644
--- a/mod/build-config.hxx
+++ b/mod/build-config.hxx
@@ -81,16 +81,18 @@ namespace brep
return exclude (p.builds, p.constraints, c, r);
}
- // Convert the build configuration name, target, machine name or their
- // pattern into path, replacing dashes with slashes and double stars with
- // the `*/**/*` substring for a subsequent match using our path_match()
- // functionality. Throw invalid_path if the resulting path is invalid.
+ // Convert dash-separated components (target, build configuration name,
+ // machine name) or a pattern thereof into a path, replacing dashes with
+ // slashes (directory separators) and `**` with `*/**/*`, for a subsequent
+ // match using the path_match() functionality (the idea here is for
+ // `linux**` to match `linux-gcc` which is quite natural to expect). Throw
+ // invalid_path if the resulting path is invalid.
//
- // Note that it is assumed that the match_absent path match flag will be
- // used for matching for the double star replacement to make sense.
+ // Note that the match_absent path match flag must be used for the above
+ // `**` transformation to work.
//
path
- from_build_config_name (const string&);
+ dash_components_to_path (const string&);
}
#endif // MOD_BUILD_CONFIG_HXX