aboutsummaryrefslogtreecommitdiffstats
path: root/lib/LXRng/Repo/Git.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/LXRng/Repo/Git.pm')
-rw-r--r--lib/LXRng/Repo/Git.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/LXRng/Repo/Git.pm b/lib/LXRng/Repo/Git.pm
index 757da26..3619427 100644
--- a/lib/LXRng/Repo/Git.pm
+++ b/lib/LXRng/Repo/Git.pm
@@ -30,6 +30,12 @@ sub new {
return bless({root => $root, %args}, $class);
}
+sub cache_key {
+ my ($self) = @_;
+
+ return $$self{'root'};
+}
+
sub _release_timestamp {
my ($self, $release) = @_;