summaryrefslogtreecommitdiff
path: root/src/blob.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2022-05-29 11:31:51 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2022-05-29 11:31:51 +0100
commitd1dd13984271090307a91e730a5196503d32d95e (patch)
tree4bcdb14aff04150899ec4b334901b4da312a7348 /src/blob.cpp
parentFix up all warnings from all the tools (diff)
downloadnetfs-gitfs-main.tar.bz2
netfs-gitfs-main.tar.xz
netfs-gitfs-main.zip
Update to NetFS 1.5 interfaceHEADnetfs-gitfs-0.2.3main
Diffstat (limited to 'src/blob.cpp')
-rw-r--r--src/blob.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/blob.cpp b/src/blob.cpp
index a5482df..2211736 100644
--- a/src/blob.cpp
+++ b/src/blob.cpp
@@ -38,7 +38,7 @@ GitFS::Blob::close(const ::Ice::Current & current)
}
NetFS::Attr
-GitFS::Blob::fgetattr(ReqEnv, const ::Ice::Current &)
+GitFS::Blob::fgetattr(const ::Ice::Current &)
{
NetFS::Attr a;
a << *blob << *entry << *repo->commit;
@@ -60,13 +60,14 @@ GitFS::Blob::read(long long int o, long long int s, const ::Ice::Current &)
}
void
-GitFS::Blob::ftruncate(ReqEnv, long long int, const ::Ice::Current &)
+GitFS::Blob::ftruncate(long long int, const ::Ice::Current &)
{
throw NetFS::SystemError(EROFS);
}
void
-GitFS::Blob::write(long long int, long long int, Buffer, const ::Ice::Current &)
+GitFS::Blob::write(
+ long long int, long long int, std::pair<const Ice::Byte *, const Ice::Byte *>, const ::Ice::Current &)
{
throw NetFS::SystemError(EROFS);
}