blob: 38bfe7d8ab0acb77c3ec0c46b19fb4ea4ad28149 [file] [log] [blame]
/*
* Copyright (C) 2018 CESNET, https://photonics.cesnet.cz/
* Copyright (C) 2018 FIT CVUT, https://fit.cvut.cz/
*
* Written by Václav Kubernát <kubervac@fit.cvut.cz>
*
*/
#include "utils.hpp"
std::string joinPaths(const std::string& prefix, const std::string& suffix)
{
if (prefix.empty() || suffix.empty())
return prefix + suffix;
else
return prefix + '/' + suffix;
}