summaryrefslogtreecommitdiff
path: root/src/dir.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2025-08-16 16:29:06 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2025-08-16 16:29:06 +0100
commit0d97553a5e1d91edfc325f1d9f5cf8c8bdd6a496 (patch)
treea5869036a4b8109f7db71f8e3970d646622e5e8c /src/dir.h
parentUpdate branch names from master to main (diff)
downloadnetfs-gitfs-0d97553a5e1d91edfc325f1d9f5cf8c8bdd6a496.tar.bz2
netfs-gitfs-0d97553a5e1d91edfc325f1d9f5cf8c8bdd6a496.tar.xz
netfs-gitfs-0d97553a5e1d91edfc325f1d9f5cf8c8bdd6a496.zip
Fix-up all the clang-tidy warnings
Diffstat (limited to 'src/dir.h')
-rw-r--r--src/dir.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/dir.h b/src/dir.h
index 626d80f..1d5ee24 100644
--- a/src/dir.h
+++ b/src/dir.h
@@ -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;