Skip to main content

clear_all_cached_pubkeys

Function clear_all_cached_pubkeys 

Source
pub fn clear_all_cached_pubkeys() -> Result<usize>
Expand description

Clear all cached public keys.

This is useful for a complete cache reset.

§Returns

  • Ok(usize) - The number of cache files removed.
  • Err - If there’s an error accessing the cache directory.