MCPcopy Create free account
hub / github.com/cockroachdb/redact / Join

Function Join

util.go:45–49  ·  view source on GitHub ↗

Join creates a redactable string from the given slice of redactable strings, adjoined with the provided delimiter.

(delim RedactableString, s []RedactableString)

Source from the content-addressed store, hash-verified

43// given slice of redactable strings, adjoined
44// with the provided delimiter.
45func Join(delim RedactableString, s []RedactableString) RedactableString {
46 var b builder.StringBuilder
47 JoinTo(&b, delim, s)
48 return b.RedactableString()
49}
50
51// SortStrings sorts the provided slice of redactable strings.
52func SortStrings(s []RedactableString) {

Callers 1

TestJoinFunction · 0.85

Calls 2

JoinToFunction · 0.85
RedactableStringMethod · 0.80

Tested by 1

TestJoinFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…