From 72b1797e2b65ad47f4dc8e9fab73b9aa170889b4 Mon Sep 17 00:00:00 2001 From: Dan Engelbrecht Date: Fri, 7 Nov 2025 12:27:44 +0100 Subject: get oplog attachments (#622) * add support for downloading individual attachments from an oplog --- src/zencore/include/zencore/basicfile.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/zencore/include') diff --git a/src/zencore/include/zencore/basicfile.h b/src/zencore/include/zencore/basicfile.h index 465499d2b..f5c82b8fe 100644 --- a/src/zencore/include/zencore/basicfile.h +++ b/src/zencore/include/zencore/basicfile.h @@ -107,6 +107,8 @@ public: static void SafeWriteFile(const std::filesystem::path& Path, MemoryView Data); static void SafeWriteFile(const std::filesystem::path& Path, MemoryView Data, std::error_code& OutEc); + static void SafeWriteFile(const std::filesystem::path& Path, const CompositeBuffer& Data); + static void SafeWriteFile(const std::filesystem::path& Path, const CompositeBuffer& Data, std::error_code& OutEc); private: void Close(); -- cgit v1.2.3