Commands: cache
The cache is the content store described on the Cache page. These commands look at it, clean it, and check that a stored result is still true.
def clean(now: Instant, retention: Duration, mode: CacheCleanMode): IO[CacheError, List[CacheEntry]]path
histos cache path prints the directory of the local content store.
list
histos cache list prints each stored digest and its size.
clean
histos cache clean removes entries older than the retention that no project still
needs. --dry-run prints the names and deletes nothing.
promote
histos cache promote --from <namespace> --to <namespace> copies an HTTP index from one
remote namespace to another. This is how a pull request namespace becomes main after
it merges.
forget
histos cache forget <namespace> drops a remote namespace. histos cache forget <module>
drops that module's local compile hit, so the next compile of it cannot reuse the stored
result.
verify
histos cache verify recompiles stored hits in a scratch checkout and names any module
whose classes differ from what was stored. Name modules to limit the check. A difference
here means the cache would have skipped a compile it should have run.