Navigation
API > API/Developer > API/Developer/DirectoryWatcher
A set of rules that specifies what files we'll be watching
| Name | FMatchRules |
| Type | struct |
| Header File | /Engine/Source/Developer/DirectoryWatcher/Public/FileCacheUtilities.h |
| Include Path | #include "FileCacheUtilities.h" |
Syntax
struct FMatchRules
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMatchRules() |
FileCacheUtilities.h |
Structs
| Name | Remarks |
|---|---|
| FMatchRule | Implementation of a match rule, wrapping up its type, and implementation |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ApplicableExtensions | FString | Optimization to ignore files that don't match the given set of extensions. | FileCacheUtilities.h | |
| bDefaultIncludeState | bool | Default inclusion state. True when only exclude rules exist, false if there are any Include rules | FileCacheUtilities.h | |
| Impls | TArray< FMatchRule > | Array of implementations | FileCacheUtilities.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddWildcardRule
(
const FWildcardString& WildcardString, |
Specify a wildcard match to include or exclude | FileCacheUtilities.h | |
bool IsFileApplicable
(
const TCHAR* Filename |
Check whether the specified file is applicable based on these rules or not | FileCacheUtilities.h | |
void SetApplicableExtensions
(
const FString& InExtensions |
Specify a set of applicable extensions, ; separated. | FileCacheUtilities.h |