MCPcopy Create free account
hub / github.com/USBGuard/usbguard / quoteEscapeString

Function quoteEscapeString

src/Library/Utility.cpp:139–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137 }
138
139 std::string quoteEscapeString(const std::string& value)
140 {
141 std::string result;
142 result.push_back('"');
143 result.append(escapeString(value));
144 result.push_back('"');
145 return result;
146 }
147 }
148} /* namespace usbguard */
149

Callers 1

toRuleStringFunction · 0.85

Calls 2

escapeStringFunction · 0.85
appendMethod · 0.80

Tested by

no test coverage detected