aboutsummaryrefslogtreecommitdiff
path: root/src/zencore/include
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2025-05-16 12:03:21 +0200
committerGitHub Enterprise <[email protected]>2025-05-16 12:03:21 +0200
commitf3d794f2a8f8ae96760bcab4880d34c589250b6a (patch)
tree4da325ef30788e399b017077ea7e589a56cb6013 /src/zencore/include
parentMerge pull request #396 from ue-foundation/zs/config-retention-8days (diff)
downloadzen-f3d794f2a8f8ae96760bcab4880d34c589250b6a.tar.xz
zen-f3d794f2a8f8ae96760bcab4880d34c589250b6a.zip
sparse win file write (#398)
* Added `--use-sparse-files` option to `zen builds` command improving write performance of large files. Enabled by default.
Diffstat (limited to 'src/zencore/include')
-rw-r--r--src/zencore/include/zencore/filesystem.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/zencore/include/zencore/filesystem.h b/src/zencore/include/zencore/filesystem.h
index 1bc3943df..e62170eba 100644
--- a/src/zencore/include/zencore/filesystem.h
+++ b/src/zencore/include/zencore/filesystem.h
@@ -137,6 +137,8 @@ ZENCORE_API std::filesystem::path GetRunningExecutablePath();
*/
ZENCORE_API void MaximizeOpenFileCount();
+ZENCORE_API bool PrepareFileForScatteredWrite(void* FileHandle, uint64_t FinalSize);
+
struct FileContents
{
std::vector<IoBuffer> Data;