app/models/repository.rb
# Expires the cache(s) used to determine if a repository is empty or not.
Expires the cache(s) used to determine if a repository is empty or not.
Expires the cache ( s ) used to determine if a repository is empty or not .
def expire_emptiness_caches
    cache.expire(:empty?)
    @empty = nil
    expire_has_visible_content_cache
  end
def expire_emptiness_caches cache . expire ( :empty? ) @empty = nil expire_has_visible_content_cache end
Expires the cache(s) used to determine if a repository is empty or not.
Expires the cache ( s ) used to determine if a repository is empty or not .