MCPcopy Create free account
hub / github.com/apache/cloudberry / appendStringInfoLineSeparator

Function appendStringInfoLineSeparator

src/backend/utils/adt/xml.c:1991–1997  ·  view source on GitHub ↗

* Append a newline after removing any existing trailing newlines */

Source from the content-addressed store, hash-verified

1989 * Append a newline after removing any existing trailing newlines
1990 */
1991static void
1992appendStringInfoLineSeparator(StringInfo str)
1993{
1994 chopStringInfoNewlines(str);
1995 if (str->len > 0)
1996 appendStringInfoChar(str, '\n');
1997}
1998
1999
2000/*

Callers 1

xml_errorHandlerFunction · 0.85

Calls 2

chopStringInfoNewlinesFunction · 0.85
appendStringInfoCharFunction · 0.85

Tested by

no test coverage detected