summaryrefslogtreecommitdiff
path: root/src/repo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/repo.h')
-rw-r--r--src/repo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/repo.h b/src/repo.h
index 0087a3f..facf42e 100644
--- a/src/repo.h
+++ b/src/repo.h
@@ -30,6 +30,8 @@ namespace GitFS {
VFS statfs(ReqEnv env, ::std::string path, const ::Ice::Current & ice) override;
int access(ReqEnv env, ::std::string path, int mode, const ::Ice::Current & ice) override;
Attr getattr(ReqEnv env, ::std::string path, const ::Ice::Current & ice) override;
+ [[nodiscard]] Attr getattr(const git_tree_entry *) const;
+ [[nodiscard]] Attr getattr(const git_tree_entry *, const git_blob *) const;
::std::string readlink(ReqEnv env, ::std::string path, const ::Ice::Current & ice) override;
FilePrxPtr open(ReqEnv env, ::std::string path, int flags, const ::Ice::Current & ice) override;
FilePrxPtr create(ReqEnv env, ::std::string path, int flags, int mode, const ::Ice::Current & ice) override;