diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2020-08-22 15:30:45 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2020-08-22 15:30:45 +0100 |
commit | 8cb74cab2350e26ffe797edc84fdae227c14bfcb (patch) | |
tree | 1a6c6111073d87fe3d8b465e89fbb7789282fa1e | |
parent | Clang-format (diff) | |
download | netfs-gitfs-8cb74cab2350e26ffe797edc84fdae227c14bfcb.tar.bz2 netfs-gitfs-8cb74cab2350e26ffe797edc84fdae227c14bfcb.tar.xz netfs-gitfs-8cb74cab2350e26ffe797edc84fdae227c14bfcb.zip |
Add copyrange support
-rw-r--r-- | src/blob.cpp | 6 | ||||
-rw-r--r-- | src/blob.h | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/blob.cpp b/src/blob.cpp index 4e1b2de..e3483b8 100644 --- a/src/blob.cpp +++ b/src/blob.cpp @@ -63,3 +63,9 @@ GitFS::Blob::write(long long int, long long int, Buffer, const ::Ice::Current &) { throw NetFS::SystemError(EROFS); } + +long long int +GitFS::Blob::copyrange(FilePrxPtr, long long int, long long int, long long int, int, const Ice::Current &) +{ + throw NetFS::SystemError(EROFS); +} @@ -16,6 +16,8 @@ namespace GitFS { Buffer read(long long int offset, long long int size, const ::Ice::Current & current) override; void ftruncate(ReqEnv env, long long int size, const ::Ice::Current & current) override; void write(long long int offset, long long int size, Buffer data, const ::Ice::Current & current) override; + long long int copyrange( + FilePrxPtr, long long int, long long int, long long int, int, const Ice::Current &) override; private: Git::BlobPtr getBlob() const; |