Navigation
API > API/Developer > API/Developer/DirectoryWatcher
Async task responsible for MD5 hashing a number of files, reporting completed hashes to the client when done
| Name | FAsyncFileHasher |
| Type | struct |
| Header File | /Engine/Source/Developer/DirectoryWatcher/Public/FileCache.h |
| Include Path | #include "FileCache.h" |
Syntax
struct FAsyncFileHasher : public DirectoryWatcher::IAsyncFileCacheTask
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAsyncFileHasher
(
TArray< FFilenameAndHash > InFilesThatNeedHashing |
Constructor | FileCache.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TArray< FFilenameAndHash > GetCompletedData() |
Return any completed filenames and their corresponding hashes | FileCache.h |
Overridden from IAsyncFileCacheTask
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool IsComplete() |
Returns true when this task has finished hashing all its files | FileCache.h |
Protected
Overridden from IAsyncFileCacheTask
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual EProgressResult Tick
(
const FTimeLimit& Limit |
Tick this reader (hashes as many files as possible in the time allowed). Returns progress state. | FileCache.h |