MCPcopy 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
202func isBoundary(b byte) bool {
203 return b == '/' || b == '.' || b == '_' || b == '-'
204}
205
206func countBoundaryHits(path []byte, query []byte) int {
207 if len(query) == 0 || len(path) == 0 {

Callers 1

countBoundaryHitsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected