MCPcopy Create free account
hub / github.com/AlexandreRouma/SDRPlusPlus / expandString

Function expandString

misc_modules/recorder/src/main.cpp:32–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30ConfigManager config;
31
32std::string expandString(std::string input) {
33 input = std::regex_replace(input, std::regex("%ROOT%"), options::opts.root);
34 return std::regex_replace(input, std::regex("//"), "/");
35}
36
37std::string genFileName(std::string prefix, bool isVfo, std::string name = "") {
38 time_t now = time(0);

Callers 7

renderMethod · 0.85
setPathMethod · 0.85
workerMethod · 0.85
renderMethod · 0.85
setPathMethod · 0.85
workerMethod · 0.85
startRecordingMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected