diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2024-08-06 22:03:31 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2024-08-07 19:19:22 +0300 |
commit | 443088f6093d3420212be0e1af3b9e802dca9362 (patch) | |
tree | b1ec3b0c62ee0b8d66b0cbf21e21d68ae0d4f806 /mod/utility.hxx | |
parent | 7db53790ca2d2c004bfd00b503eca59a8d084870 (diff) |
Add support for advanced package search
Diffstat (limited to 'mod/utility.hxx')
-rw-r--r-- | mod/utility.hxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mod/utility.hxx b/mod/utility.hxx index 43527ae..07fbf8b 100644 --- a/mod/utility.hxx +++ b/mod/utility.hxx @@ -19,6 +19,13 @@ namespace brep ? path_cast<dir_path> (dir / ('@' + tenant)) : dir; } + + // Transform the wildcard to the `SIMILAR TO` pattern. + // + // Note that the empty wildcard is transformed to the '%' pattern. + // + string + wildcard_to_similar_to_pattern (const string&); } #endif // MOD_UTILITY_HXX |