Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/IPlatformFile
Description
Query the FileJournal to find a list of all directories on the given volume with files that have been added, deleted, or modified in the specified time range. The beginning of the time range is specified by JournalIdOfStartingEntry and StartingJournalEntry, which came from FileJournalGetLatestEntry or a previous call to FileJournalReadModified. The end of the range is the latest modification on the volume. VolumeName can be the return value from FileJournalGetVolumeName, or any path on the desired volume.
The caller must provide the mapping from FFileJournalFileHandle to DirectoryName; the FFileJournalFileHandle for each Directory can be found from FileJournalGetFileData or FileJournalIterateDirectory.
Modified directories are appended into OutModifiedDirectories, and the next FileJournal entry to scan is written into OutNextJournalEntry.
Returns EFileJournalResult::Success if successful, otherwise an error code and optionally a user-displayable explanation for the error code. In an error case, partial results may still be written into the output.
Derived Overrides
- FCachedReadPlatformFile::FileJournalReadModified
- FLoggedPlatformFile::FileJournalReadModified
- FPlatformFileOpenLog::FileJournalReadModified
| Name | FileJournalReadModified |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformFile.h |
| Include Path | #include "GenericPlatform/GenericPlatformFile.h" |
| Source | /Engine/Source/Runtime/Core/Private/GenericPlatform/GenericPlatformFile.cpp |
virtual EFileJournalResult FileJournalReadModified
(
const TCHAR * VolumeName,
const FFileJournalId & JournalIdOfStartingEntry,
const FFileJournalEntryHandle & StartingJournalEntry,
TMap < FFileJournalFileHandle , FString > & KnownDirectories,
TSet< FString > & OutModifiedDirectories,
FFileJournalEntryHandle & OutNextJournalEntry,
FString * OutError
)