Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/APIParkLab/APIPark
/ newPathFilter
Function
newPathFilter
strategy-filter/path.go:22–29 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
20
}
21
22
func
newPathFilter() *pathFilter {
23
return
&pathFilter{
24
name:
"path"
,
25
title:
"api path"
,
26
typ: TypePattern,
27
pattern: regexp.MustCompile(ApiPathRegexp),
28
}
29
}
30
31
func
(p *pathFilter) Name() string {
32
return
p.name
Callers
1
init
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected