Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/coder
/ cleanRef
Function
cleanRef
aibridge/session.go:89–96 ·
view source on GitHub ↗
(str string)
Source
from the content-addressed store, hash-verified
87
}
88
89
func
cleanRef(str string) *string {
90
str = strings.TrimSpace(str)
91
if
str ==
""
{
92
return
nil
93
}
94
95
return
utils.PtrTo(str)
96
}
Callers
1
GuessSessionID
Function · 0.85
Calls
1
PtrTo
Function · 0.92
Tested by
no test coverage detected