aboutsummaryrefslogtreecommitdiff
path: root/src/zencore/include
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2025-10-14 13:13:59 +0200
committerGitHub Enterprise <[email protected]>2025-10-14 13:13:59 +0200
commit9b7580230798d83d9bb36d40150913af69a13929 (patch)
tree73552ec1d3e9d955ce391cad894c637b74be91d4 /src/zencore/include
parentmove all storage-related services into storage tree (#571) (diff)
downloadzen-9b7580230798d83d9bb36d40150913af69a13929.tar.xz
zen-9b7580230798d83d9bb36d40150913af69a13929.zip
refactor builds cmd part2 (#572)
* fix metadata info in filebuildstorage GetBuild * move MakeSafeAbsolutePathÍnPlace to filesystem.h/cpp * add BuildsOperationUploadFolder op moving code from builds_cmd.cpp
Diffstat (limited to 'src/zencore/include')
-rw-r--r--src/zencore/include/zencore/filesystem.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/zencore/include/zencore/filesystem.h b/src/zencore/include/zencore/filesystem.h
index 3bfc3b540..b4906aebf 100644
--- a/src/zencore/include/zencore/filesystem.h
+++ b/src/zencore/include/zencore/filesystem.h
@@ -408,6 +408,9 @@ uint32_t MakeFileModeReadOnly(uint32_t FileMode, bool ReadOnly);
bool SetFileReadOnly(const std::filesystem::path& Filename, bool ReadOnly, std::error_code& Ec);
bool SetFileReadOnly(const std::filesystem::path& Filename, bool ReadOnly);
+void MakeSafeAbsolutePathÍnPlace(std::filesystem::path& Path);
+[[nodiscard]] std::filesystem::path MakeSafeAbsolutePath(const std::filesystem::path& Path);
+
class SharedMemory
{
public: