Added support for '?' to FS wildcard handling.

This commit is contained in:
gibbed
2017-01-19 18:13:07 -06:00
parent 17529b063f
commit 69cf40161e
2 changed files with 28 additions and 9 deletions

View File

@@ -22,13 +22,14 @@ namespace filesystem {
class WildcardFlags {
public:
bool FromStart : 1, ToEnd : 1;
bool FromStart : 1, ToEnd : 1, ExactLength : 1;
WildcardFlags();
WildcardFlags(bool start, bool end);
WildcardFlags(bool start, bool end, bool exact_length);
static WildcardFlags FIRST;
static WildcardFlags LAST;
static WildcardFlags ANY;
};
class WildcardRule {