Cache

Type Alias 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.

Aliased Typeยง

pub struct Cache { /* private fields */ }