/Engine/Plugins/Runtime/ChunkDownloader/Source/Public/ChunkDownloader.h
Flush any cached files (on disk) that are not currently being downloaded to or mounting (does not unmount the corresponding pak files). this will include full and partial downloads, but not active downloads.
int FlushCache()