MCPcopy Create free account
hub / github.com/apache/kudu / ShellEscapeCommandLine

Function ShellEscapeCommandLine

src/kudu/gutil/strings/escaping.h:577–584  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

575// returns the resulting string.
576template <class InputIterator>
577std::string ShellEscapeCommandLine(InputIterator begin, const InputIterator& end) {
578 std::string result;
579 for (; begin != end; ++begin) {
580 if (!result.empty()) result.append(" ");
581 result.append(ShellEscape(*begin));
582 }
583 return result;
584}
585
586// Reads at most bytes_to_read from binary_string and writes it to
587// ascii_string in lower case hex.

Callers

nothing calls this directly

Calls 3

ShellEscapeFunction · 0.85
emptyMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected