Skip to main content

update_tldr_cache

Function update_tldr_cache 

Source
pub fn update_tldr_cache() -> Result<TldrCacheUpdate, TldrUpdateError>
Expand description

Refresh tldr through an installed client or ManT’s private Git checkout.

§Errors

Returns TldrUpdateError when no updater is installed, a subprocess fails, or the private cache cannot be changed transactionally.