Unravel Engine C++ Reference
Loading...
Searching...
No Matches
pattern_filter.h File Reference
#include <string>
#include <vector>
#include <functional>
#include "filesystem.h"

Go to the source code of this file.

Classes

class  fs::wildcard_pattern
 A wildcard pattern matcher that supports * (match any sequence) and ? (match single character) More...
 
class  fs::pattern_filter
 A filter that combines include and exclude patterns for file/directory filtering. More...
 

Namespaces

namespace  fs
 

Functions

auto fs::make_pattern_filter (const std::string &pattern) -> pattern_filter
 Convenience function to create a pattern filter from a single wildcard string Maintains backward compatibility with existing "*" usage.
 
auto fs::make_pattern_filter (const std::vector< std::string > &includes, const std::vector< std::string > &excludes={}) -> pattern_filter
 Convenience function to create a pattern filter with include and exclude lists.