From 905478e913aa51469c79f8a52d4f5e833004419b Mon Sep 17 00:00:00 2001 From: Arne Georg Gleditsch Date: Tue, 27 Nov 2007 00:58:09 +0100 Subject: Tune caching functionality a bit. --- lib/LXRng/Repo/Git.pm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/LXRng/Repo/Git.pm') 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) = @_; -- cgit v1.2.3