Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
FrogTheFrog committed Jan 29, 2025
1 parent a2f4418 commit 6580d1a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/process.h
Original file line number Diff line number Diff line change
Expand Up @@ -227,19 +227,19 @@ namespace proc {
* @brief Parse the string and replace any "$(...)" patterns with a value from env.
* @param env Environment to be used as a source for replacement.
* @param val_raw Raw string to be parsed.
* @returns Strings with replacements made (if any) with values from env.
* @returns Strings with replacements made (if any) with values from env.
* @warning This function throws if the `val_raw` is ill-formed.
*/
std::string parse_env_val(const boost::process::v1::native_environment &env, std::string_view val_raw);

/**
* @brief Validate the image path.
* @param app_image_path File path to validate.
*
*
* Requirements:
* - images must be of `.png` file ending
* - image file must exist (can be relative to the `assets` directory).
*
*
* @returns Validated image path on success, default image path on failure.
*/
std::string validate_app_image_path(const std::string &app_image_path);
Expand All @@ -265,7 +265,7 @@ namespace proc {
* @param app_index App index in the app list.
* @return Tuple of id calculated without index (for use if no collision) and one with.
*/
std::tuple<std::string, std::string> calculate_app_id(const std::string &app_name, const std::string& app_image_path, int app_index);
std::tuple<std::string, std::string> calculate_app_id(const std::string &app_name, const std::string &app_image_path, int app_index);

/**
* @brief Parse the app list file.
Expand Down

0 comments on commit 6580d1a

Please sign in to comment.