diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2020-01-02 21:10:22 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2020-08-22 15:22:39 +0100 |
commit | 356768f8aa07661f52625f10b90a3affa562dd8a (patch) | |
tree | c05d403f5d71f0d7ac4cd962363ddcf28699921d /src/repo.cpp | |
parent | Type fixes work new libgit2 (diff) | |
download | netfs-gitfs-356768f8aa07661f52625f10b90a3affa562dd8a.tar.bz2 netfs-gitfs-356768f8aa07661f52625f10b90a3affa562dd8a.tar.xz netfs-gitfs-356768f8aa07661f52625f10b90a3affa562dd8a.zip |
Update to new NetFS interface
Diffstat (limited to 'src/repo.cpp')
-rw-r--r-- | src/repo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/repo.cpp b/src/repo.cpp index 51f5fd1..9bf156a 100644 --- a/src/repo.cpp +++ b/src/repo.cpp @@ -52,7 +52,7 @@ GitFS::Repo::opendir(ReqEnv, ::std::string path, const ::Ice::Current& ice) throw NetFS::SystemError(EINVAL); } - return Ice::uncheckedCast<NetFS::DirectoryV2Prx>(ice.adapter->addWithUUID( + return Ice::uncheckedCast<NetFS::DirectoryPrx>(ice.adapter->addWithUUID( std::make_shared<Directory>(this, std::move(path)))); } @@ -225,7 +225,7 @@ GitFS::Repo::link(ReqEnv, ::std::string, ::std::string, const ::Ice::Current&) void -GitFS::Repo::rename(ReqEnv, ::std::string, ::std::string, const ::Ice::Current&) +GitFS::Repo::rename(ReqEnv, ::std::string, ::std::string, const Ice::optional<Ice::Int>, const ::Ice::Current&) { throw NetFS::SystemError(EROFS); } |