diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-07-29 20:58:58 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-07-29 20:58:58 +0100 |
commit | fc08c2fe42b963481607f421d0ec76ec9823eec7 (patch) | |
tree | 1dd59ffdd46523438a9af4727f5830411731b0b7 /src/repo.h | |
parent | Fix constness of repo pointers (diff) | |
download | netfs-gitfs-fc08c2fe42b963481607f421d0ec76ec9823eec7.tar.bz2 netfs-gitfs-fc08c2fe42b963481607f421d0ec76ec9823eec7.tar.xz netfs-gitfs-fc08c2fe42b963481607f421d0ec76ec9823eec7.zip |
Periodically check for a new root tree
Diffstat (limited to 'src/repo.h')
-rw-r--r-- | src/repo.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -33,11 +33,15 @@ namespace GitFS { void utimens(ReqEnv env, ::std::string path, long long int atime, long long int atimens, long long int mtime, long long int mtimens, const ::Ice::Current& current) override; private: + void update(); + friend class Directory; friend class Blob; const Git::RepositoryPtr repo; const std::string commitish; + Git::RefPtr ref; bool isBranch; + std::time_t resolvedAt; Git::CommitPtr commit; Git::TreePtr tree; const std::string gid, uid; |