[][src]Type Definition raur_ext::Cache

type Cache = HashSet<Package>;

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.