Type Definition raur::Cache

source ·
pub type Cache = HashSet<ArcPackage>;
Expand description

A common cache type for users of this library. Libraries that make use of the AUR RPC should take in a cache, make sure to check the cache before making RPC requests. On cache misses, the library should make an RPC request and place the new packages into the cache for others to use.