mirror of
https://github.com/git-pkgs/proxy.git
synced 2026-11-09 15:49:16 -05:00
8 lines
205 B
Go
8 lines
205 B
Go
package handler
|
|
|
|
func (p *Proxy) versionDenied(ecosystem, name, version string) bool {
|
|
if p.Denylist == nil {
|
|
return false
|
|
}
|
|
return p.Denylist.Denied(canonicalVersionPURL(ecosystem, name, version))
|
|
}
|