summaryrefslogtreecommitdiff
path: root/lib/repository_cache.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/repository_cache.rb')
-rw-r--r--lib/repository_cache.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/repository_cache.rb b/lib/repository_cache.rb
index fa016a170cd..639687067ec 100644
--- a/lib/repository_cache.rb
+++ b/lib/repository_cache.rb
@@ -18,4 +18,8 @@ class RepositoryCache
def fetch(key, &block)
backend.fetch(cache_key(key), &block)
end
+
+ def exist?(key)
+ backend.exist?(key)
+ end
end