MCPcopy Create free account
hub / github.com/imgproxy/imgproxy / URLPatterns

Function URLPatterns

env/types.go:150–156  ·  view source on GitHub ↗

URLPatterns defines regexp patterns slice env var descriptor. Parses comma-separated wildcard patterns and converts them to regexps.

(name string)

Source from the content-addressed store, hash-verified

148// URLPatterns defines regexp patterns slice env var descriptor.
149// Parses comma-separated wildcard patterns and converts them to regexps.
150func URLPatterns(name string) URLPatternsVar {
151 return URLPatternsVar{
152 Name: name,
153 format: "comma-separated wildcard patterns",
154 parseFn: parseURLPatterns,
155 }
156}
157
158// HexSlice defines hex-encoded byte slices env var descriptor.
159// Parses comma-separated hex strings into byte slices.

Callers 2

config.goFile · 0.92
TestURLPatternsFunction · 0.92

Calls

no outgoing calls

Tested by 1

TestURLPatternsFunction · 0.74