#ifndef GITFS_DIRECTORY_H #define GITFS_DIRECTORY_H #include #include "git.h" namespace GitFS { using namespace NetFS; class Directory : public DirectoryV2 { public: Directory(const GitFS::Git::TreePtr & r, const std::string &); void close(const ::Ice::Current& current) override; NameList readdir(const ::Ice::Current& current) override; DirectoryContents listdir(const ::Ice::Current& current) override; private: Git::TreePtr tree; const std::string path; }; } #endif