MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / processTextStr

Function processTextStr

pkg/vdom/vdom_html.go:214–222  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

212}
213
214func processTextStr(s string) string {
215 if s == "" {
216 return ""
217 }
218 if isAllWhitespace(s) {
219 return " "
220 }
221 return strings.TrimSpace(s)
222}
223
224func makePathStr(elemPath []string) string {
225 return strings.Join(elemPath, " ")

Callers 1

BindFunction · 0.85

Calls 1

isAllWhitespaceFunction · 0.85

Tested by

no test coverage detected