diff options
| author | Dan Engelbrecht <[email protected]> | 2022-11-07 10:18:44 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-11-07 01:18:44 -0800 |
| commit | bb07e58a9c59705b54164b06bcbe40c052880d90 (patch) | |
| tree | 2b691d876b232f5354459a9c4a5cb44c21d541a8 /zencore/include | |
| parent | 0.1.8 (diff) | |
| download | zen-bb07e58a9c59705b54164b06bcbe40c052880d90.tar.xz zen-bb07e58a9c59705b54164b06bcbe40c052880d90.zip | |
Support file reference in package message (#184)
* Fix packed message parsing for absolute path
* Always enable are sharing when opening files as IoBuffers.
* Allow control over sending partial files as localfile ref
* Check "AcceptFlags" field in RPC message for allowing localfile ref in reply
* make oplog entry add operations ZEN_DEBUG level logs
* changelog
Diffstat (limited to 'zencore/include')
| -rw-r--r-- | zencore/include/zencore/iobuffer.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/zencore/include/zencore/iobuffer.h b/zencore/include/zencore/iobuffer.h index b38201ba3..7f107cc0f 100644 --- a/zencore/include/zencore/iobuffer.h +++ b/zencore/include/zencore/iobuffer.h @@ -409,7 +409,6 @@ class IoBufferBuilder { public: ZENCORE_API static IoBuffer MakeFromFile(const std::filesystem::path& FileName, uint64_t Offset = 0, uint64_t Size = ~0ull); - ZENCORE_API static IoBuffer MakeFromFileWithSharedDelete(const std::filesystem::path& FileName); ZENCORE_API static IoBuffer MakeFromTemporaryFile(const std::filesystem::path& FileName); ZENCORE_API static IoBuffer MakeFromFileHandle(void* FileHandle, uint64_t Offset = 0, uint64_t Size = ~0ull); ZENCORE_API static IoBuffer ReadFromFileMaybe(IoBuffer& InBuffer); |