Documentation
¶
Overview ¶
Package denylist implements an immutable, exact-version package policy.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Policy ¶
type Policy struct {
// contains filtered or unexported fields
}
Policy is safe for concurrent reads. A nil policy allows every version.
func New ¶
New validates and canonicalizes versioned PURLs. Qualifiers and subpaths are rejected because the proxy cannot reliably distinguish them at every endpoint, except a conda channel, which download URLs always name.
Click to show internal directories.
Click to hide internal directories.