diff options
Diffstat (limited to 'lib/LXRng/Repo/Git/Directory.pm')
-rw-r--r-- | lib/LXRng/Repo/Git/Directory.pm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/LXRng/Repo/Git/Directory.pm b/lib/LXRng/Repo/Git/Directory.pm index 592e608..1fdcc32 100644 --- a/lib/LXRng/Repo/Git/Directory.pm +++ b/lib/LXRng/Repo/Git/Directory.pm @@ -12,6 +12,12 @@ sub new { $class); } +sub cache_key { + my ($self) = @_; + + return $$self{'repo'}->cache_key.":".$$self{'ref'}; +} + sub time { my ($self) = @_; |