From f35e367d61277573326be776f2eb8af5755657cd Mon Sep 17 00:00:00 2001 From: Arne Georg Gleditsch Date: Fri, 30 Nov 2007 10:44:31 +0100 Subject: Add cache keys for Plain repo backend. --- lib/LXRng/Repo/Plain.pm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/LXRng/Repo/Plain.pm') diff --git a/lib/LXRng/Repo/Plain.pm b/lib/LXRng/Repo/Plain.pm index 7e64d3c..46fb3f4 100644 --- a/lib/LXRng/Repo/Plain.pm +++ b/lib/LXRng/Repo/Plain.pm @@ -12,6 +12,12 @@ sub new { return bless({root => $root}, $class); } +sub cache_key { + my ($self) = @_; + + return $$self{'root'}; +} + sub allversions { my ($self) = @_; -- cgit v1.2.3