Navigation
Unreal Engine C++ API Reference > Developer > DirectoryWatcher
References
Module | DirectoryWatcher |
Header | /Engine/Source/Developer/DirectoryWatcher/Public/FileCache.h |
Include | #include "FileCache.h" |
Syntax
struct FFileCacheConfig
Remarks
Configuration structure required to construct a FFileCache
Variables
Type | Name | Description |
---|---|---|
bool | bDetectChangesSinceLastRun | When true, changes to the directory since the cache shutdown will be detected and reported. |
FString | CacheFile | String specifying the file that the cache should be saved to. |
TFunction< TOpt... | CustomChangeLogic | User-specified custom change detection logic. |
FString | Directory | String specifying the directory on disk that the cache should reflect |
EPathType | PathType | Path type to return, relative to the directory or absolute. |
FMatchRules | Rules | List of rules which define what we will be watching |
Constructors
Type | Name | Description |
---|---|---|
FFileCacheConfig ( FString InDirectory, FString InCacheFile ) |
Functions
Type | Name | Description |
---|---|---|
FFileCacheCo... | DetectChangesFor ( EChangeDetection ChangeType, bool Value ) | Instruct the cache to report the specified changes to files |
FFileCacheCo... | DetectMoves ( bool bInDetectMoves ) | Set up this cache to detect moves |
FFileCacheCo... | RequireFileHashes ( bool bInRequireFileHashes ) | Set up this cache to generate MD5 hashes for its constituent files |
Enums
Type | Name | Description |
---|---|---|
Public enum | EChangeDetection | Enum that specifies what changes are required for a change to be reported. |