Skip to main content

models_dir

Function models_dir 

Source
pub(crate) fn models_dir(cfg: &Config) -> Result<PathBuf, Error>
Expand description

The configured directory, else a subdirectory of the platform cache directory. Never derived from the working directory: a caller with no usable cache directory gets an error to act on.