MCPcopy Index your code
hub / github.com/coder/aibridge / cleanRef

Function cleanRef

session.go:87–94  ·  view source on GitHub ↗
(str string)

Source from the content-addressed store, hash-verified

85}
86
87func cleanRef(str string) *string {
88 str = strings.TrimSpace(str)
89 if str == "" {
90 return nil
91 }
92
93 return utils.PtrTo(str)
94}

Callers 1

GuessSessionIDFunction · 0.85

Calls 1

PtrToFunction · 0.92

Tested by

no test coverage detected