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

Function ShellEscapeCommandLine

be/src/gutil/strings/escaping.h:571–578  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

569// returns the resulting string.
570template <class InputIterator>
571string ShellEscapeCommandLine(InputIterator begin, const InputIterator& end) {
572 string result;
573 for (; begin != end; ++begin) {
574 if (!result.empty()) result.append(" ");
575 result.append(ShellEscape(*begin));
576 }
577 return result;
578}
579
580// Reads at most bytes_to_read from binary_string and writes it to
581// 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