FFileCache::DiffDirtyFiles

Diff the specified set of dirty files (absolute paths, or relative to the monitor directory), adding transactions to the specified array if necessary.

Windows
MacOS
Linux

References

Module

DirectoryWatcher

Header

/Engine/Source/Developer/DirectoryWatcher/Public/FileCache.h

Include

#include "FileCache.h"

Source

/Engine/Source/Developer/DirectoryWatcher/Private/FileCache.cpp

Syntax

void DiffDirtyFiles
(
    TMap< FImmutableString, FFileData > & InDirtyFiles,
    TArray< FUpdateCacheTransaction > & OutTransactions,
    const FDirectoryState * InFileSystemState
) const

Remarks

Diff the specified set of dirty files (absolute paths, or relative to the monitor directory), adding transactions to the specified array if necessary. Optionally takes a directory state from which we can retrieve current file system state, without having to ask the FS directly. Optionally exclude files that have changed since the specified threshold, to ensure that related events get grouped together correctly.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss