Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
87
func
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
GuessSessionID
Function · 0.85
Calls
1
PtrTo
Function · 0.92
Tested by
no test coverage detected