2022-09-16 11:43:11 +02:00
|
|
|
#include "helpers.h"
|
|
|
|
|
2022-09-16 12:05:50 +02:00
|
|
|
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;
|
|
|
|
}
|