From db00a9699e3b12e5f1b79b55a4fd35c4e1dee163 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Mon, 22 Jul 2019 22:14:31 +0100 Subject: Replace hard-coded test values with properties --- src/repo.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/repo.h') diff --git a/src/repo.h b/src/repo.h index 0b8cc56..18b1057 100644 --- a/src/repo.h +++ b/src/repo.h @@ -1,14 +1,16 @@ #ifndef GITFS_REPO_H #define GITFS_REPO_H +#include #include #include "git.h" namespace GitFS { using namespace NetFS; + using PropertyReader = std::function; class Repo : public Volume { public: - Repo(); + Repo(const PropertyReader &); void disconnect(const ::Ice::Current& current) override; DirectoryPrxPtr opendir(ReqEnv env, ::std::string path, const ::Ice::Current& current) override; @@ -36,6 +38,7 @@ namespace GitFS { Git::RepositoryPtr repo; Git::CommitPtr commit; Git::TreePtr tree; + const std::string gid, uid; }; } -- cgit v1.2.3