summaryrefslogtreecommitdiff
path: root/test/buildtool/file_system/file_system_manager.test.cpp
diff options
context:
space:
mode:
authorOliver Reiche <oliver.reiche@huawei.com>2022-03-09 18:11:20 +0100
committerOliver Reiche <oliver.reiche@huawei.com>2022-03-09 18:11:20 +0100
commitb44ba08941f87c3f03fefd54cab2d12012fa01ca (patch)
treef6521829a63356283df9a5cf1d61214e28a14ca6 /test/buildtool/file_system/file_system_manager.test.cpp
parenteddf9107720bbcce6e2cebf4b7cfa63e8e7ede2c (diff)
downloadjustbuild-b44ba08941f87c3f03fefd54cab2d12012fa01ca.tar.gz
FileStorage: Avoid rename for owned files
... and therefore split the common `AtomicAdd()` into two functions for adding from bytes or file path. The procedure for adding from bytes remains the same. For adding from file path, we can link the file directly and skip the rename, if the file did not exist and we have ownership.
Diffstat (limited to 'test/buildtool/file_system/file_system_manager.test.cpp')
0 files changed, 0 insertions, 0 deletions