Clears the wellknown config cache. Useful for testing or forced refresh.
()
| 165 | |
| 166 | /// Clears the wellknown config cache. Useful for testing or forced refresh. |
| 167 | pub fn clear_cache() { |
| 168 | if let Ok(mut guard) = CACHE.lock() { |
| 169 | *guard = None; |
| 170 | } |
| 171 | } |
| 172 | |
| 173 | #[cfg(test)] |
| 174 | mod tests { |
no outgoing calls