FlatImage
A configurable Linux containerization system
Loading...
Searching...
No Matches
anonymous_namespace{recipe.hpp} Namespace Reference

Functions

fs::path get_path_recipe (fs::path const &path_dir_download, ns_config::Distribution const &distribution, std::string const &recipe)
 Constructs the path to a recipe file in the local cache.
 

Function Documentation

◆ get_path_recipe()

fs::path anonymous_namespace{recipe.hpp}::get_path_recipe ( fs::path const & path_dir_download,
ns_config::Distribution const & distribution,
std::string const & recipe )
inline

Constructs the path to a recipe file in the local cache.

Parameters
path_dir_downloadDirectory where recipes are cached
distributionName of the distribution
recipeName of the recipe
Returns
fs::path Path to the recipe JSON file

Definition at line 37 of file recipe.hpp.