Skip to contents

Clear the metadata cache

Usage

kobo_cache_clear(uid = NULL, type = c("all", "forms", "langs"))

Arguments

uid

Optional asset uid. If provided, clears cache for that asset only.

type

Character, which cache to clear: "all" (default), "forms", or "langs".

Value

Invisibly returns TRUE

Examples

if (FALSE) { # \dontrun{
kobo_cache_clear()
kobo_cache_clear("aXf4gH7kL9mN2pQrStUvWx")
kobo_cache_clear(type = "langs")
} # }