25#include "PathUtilities.hpp"
27namespace path_utilities {
28 fs::path insert_count_in_path(fs::path input_path, uint32_t count) {
29 if (input_path.has_filename()) {
30 fs::path stem = input_path.stem();
31 fs::path extension = input_path.extension();
32 fs::path count_as_path(std::to_string(count));
33 stem += count_as_path;
35 input_path.replace_filename(stem);