MCPcopy Index your code
hub / github.com/NdoleStudio/httpsms / sanitizeMessageID

Method sanitizeMessageID

api/pkg/requests/request.go:123–132  ·  view source on GitHub ↗
(value string)

Source from the content-addressed store, hash-verified

121}
122
123func (input *request) sanitizeMessageID(value string) string {
124 id := strings.Builder{}
125 for _, char := range value {
126 if char == '.' {
127 return id.String()
128 }
129 id.WriteRune(char)
130 }
131 return id.String()
132}
133
134// getLimit gets the take as a string
135func (input *request) getBool(value string) bool {

Callers 1

SanitizeMethod · 0.80

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected