eive-obsw/bsp_q7s/fs/helpers.cpp

9 lines
293 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 12:14:27 +02:00
std::filesystem::path pathWihtoutPrefix) {
2022-09-16 11:43:11 +02:00
auto prefix = man.getCurrentMountPrefix();
auto resPath = prefix / pathWihtoutPrefix;
return resPath;
}