Function Utils::generate_unique_filename

Function Documentation

std::filesystem::path Utils::generate_unique_filename(const std::filesystem::path &base_path)

Generate a unique filename with timestamp suffix if file already exists.

  • Base file path

Returns:

Unique file path (original if doesn’t exist, or with timestamp suffix)

Parameters:

base_path