diff options
Diffstat (limited to 'src/dir.h')
-rw-r--r-- | src/dir.h | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -6,6 +6,7 @@ #include <git2.h> #include <string> #include <types.h> + namespace Ice { struct Current; } @@ -13,13 +14,14 @@ namespace Ice { namespace GitFS { using namespace NetFS; class Repo; + class Directory : public NetFS::Directory { public: - Directory(Repo * const r, std::string &&); + Directory(Repo * repo, std::string); - void close(const ::Ice::Current & current) override; - NameList readdir(const ::Ice::Current & current) override; - DirectoryContents listdir(const ::Ice::Current & current) override; + void close(const ::Ice::Current & ice) override; + NameList readdir(const ::Ice::Current & ice) override; + DirectoryContents listdir(const ::Ice::Current & ice) override; private: Git::TreePtr getSubtree() const; |