Skip to main content

get_pricing_cache_path_in

Function get_pricing_cache_path_in 

Source
pub fn get_pricing_cache_path_in(dir: &Path, date: &str) -> PathBuf
Expand description

Returns the pricing cache file path for date under an explicit cache dir.

The env-free counterpart of get_pricing_cache_path: it only composes the path (<dir>/model_pricing_<date>.json) and never resolves the home directory or creates the directory, so tests can point it at a temp dir.