* @brief find an object in the cache * * @param cache * @param req * @param update_cache whether to update the cache, * if true, the object is promoted * and if the object is expired, it is removed from the cache * @return the object or NULL if not found */
| 120 | * @return the object or NULL if not found |
| 121 | */ |
| 122 | static cache_obj_t *FIFO_find(cache_t *cache, const request_t *req, |
| 123 | const bool update_cache) { |
| 124 | return cache_find_base(cache, req, update_cache); |
| 125 | } |
| 126 | |
| 127 | /** |
| 128 | * @brief insert an object into the cache, |
nothing calls this directly
no test coverage detected