eive-obsw/bsp_q7s/fs/helpers.cpp

9 lines
295 B
C++
Raw Normal View History

2022-09-16 11:43:11 +02:00
#include "helpers.h"
std::filesystem::path fshelpers::getPrefixedPath(SdCardManager &man,
2022-09-16 11:43:11 +02:00
std::filesystem::path pathWihtoutPrefix) {
auto prefix = man.getCurrentMountPrefix();
auto resPath = prefix / pathWihtoutPrefix;
return resPath;
}