eive-obsw/bsp_q7s/fs/helpers.cpp
Robin Mueller 547fcf22dd
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good
add very basic test in Q7S Test task for FS helpers
2022-09-16 12:05:50 +02:00

9 lines
295 B
C++

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