% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fetch.R
\name{cache_info}
\alias{cache_info}
\title{Inspect the current taxodist lineage cache}
\usage{
cache_info()
}
\value{
Invisibly returns a list with elements:
\describe{
\item{\code{n_lineages}}{Integer. Number of cached lineages.}
\item{\code{n_ids}}{Integer. Number of cached taxon IDs.}
\item{\code{taxa}}{Character vector of taxa with cached lineages.}
\item{\code{size_bytes}}{Numeric. Total memory used by the cache.}
}
}
\description{
Reports the number of cached entries, their total memory footprint, and
the names of all taxa whose lineages are stored in the current session.
Useful for understanding what has already been retrieved before running
further computations.
}
\examples{
\donttest{
get_lineage("Tyrannosaurus")
get_lineage("Velociraptor")
cache_info()
}
}
\seealso{
\code{\link[=save_cache]{save_cache()}}, \code{\link[=load_cache]{load_cache()}}, \code{\link[=clear_cache]{clear_cache()}}
}
