Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/coder/coder
/ isBoundary
Function
isBoundary
agent/filefinder/text.go:202–204 ·
view source on GitHub ↗
(b byte)
Source
from the content-addressed store, hash-verified
200
}
201
202
func
isBoundary(b byte) bool {
203
return
b ==
'/'
|| b ==
'.'
|| b ==
'_'
|| b ==
'-'
204
}
205
206
func
countBoundaryHits(path []byte, query []byte) int {
207
if
len(query) == 0 || len(path) == 0 {
Callers
1
countBoundaryHits
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected