eive-obsw/bsp_q7s/fs/helpers.cpp
Robin Mueller 6b48fb64d8
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good
start integrating cfdp code
2022-09-16 12:14:27 +02:00

9 lines
293 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;
}