summaryrefslogtreecommitdiff
path: root/zuul/driver/github
diff options
context:
space:
mode:
Diffstat (limited to 'zuul/driver/github')
-rw-r--r--zuul/driver/github/githubsource.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/zuul/driver/github/githubsource.py b/zuul/driver/github/githubsource.py
index 5e14e66ef..8c08a8b13 100644
--- a/zuul/driver/github/githubsource.py
+++ b/zuul/driver/github/githubsource.py
@@ -114,6 +114,9 @@ class GithubSource(BaseSource):
def getProjectBranches(self, project, tenant, min_ltime=-1):
return self.connection.getProjectBranches(project, tenant, min_ltime)
+ def getProjectBranchCacheLtime(self):
+ return self.connection._branch_cache.ltime
+
def getProjectOpenChanges(self, project):
"""Get the open changes for a project."""
raise NotImplementedError()