MCPcopy Create free account
hub / github.com/Aegel5/SimpleSwitcher / NormalizePaths

Method NormalizePaths

src/Settings.h:45–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43 std::set <std::wstring> disableInPrograms;
44
45 void NormalizePaths() {
46 std::set <std::wstring> res;
47 for (const auto& it : disableInPrograms) {
48 auto cur = it;
49 StrUtils::ToLower(cur);
50 PathUtils::NormalizeDelims(cur);
51 res.insert(std::move(cur)); // todo cast
52 }
53 disableInPrograms = std::move(res);
54 }
55 bool IsSkipProgramTop() const {
56
57 const auto& col = disableInPrograms;

Callers 1

LoadConfigFunction · 0.80

Calls 2

ToLowerFunction · 0.85
NormalizeDelimsFunction · 0.85

Tested by

no test coverage detected