hyperoslo / Cache

:package: Nothing but Cache.
Other
2.96k stars 335 forks source link

`.existsObject` changes #306

Closed joeljfischer closed 2 years ago

joeljfischer commented 2 years ago
  1. The name should probably be objectExists
  2. The code wraps the try call so that it cannot throw, but the function declaration declares it can throw. The throws should be removed (major version change), or another identical function should be added without the throws and the old one deprecated.