Skip to content

Commit

Permalink
Remove exist
Browse files Browse the repository at this point in the history
  • Loading branch information
drinkbeer committed Oct 9, 2024
1 parent 2f189ac commit afac6a7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions lib/identity_cache/cache_fetcher.rb
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,6 @@ def fetch(key, fill_lock_duration: nil, lock_wait_tries: 2, &block)
end
end

def exist?(key)
@cache_backend.exist?(key)
end

private

def fetch_without_fill_lock(key)
Expand Down
4 changes: 0 additions & 4 deletions lib/identity_cache/memoized_cache_proxy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,6 @@ def clear
end
end

def exist?(key)
@cache_fetcher.exist?(key)
end

private

EMPTY_ARRAY = [].freeze
Expand Down

0 comments on commit afac6a7

Please sign in to comment.