eive-obsw/bsp_q7s/fs/helpers.cpp
Robin Mueller 26216eca88
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good
new fs helper module
2022-09-16 11:53:33 +02:00

9 lines
297 B
C++

#include "helpers.h"
std::filesystem::path fshelpers::buildPrefixedPath(SdCardManager &man,
std::filesystem::path pathWihtoutPrefix) {
auto prefix = man.getCurrentMountPrefix();
auto resPath = prefix / pathWihtoutPrefix;
return resPath;
}