Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data PackageOriginRestrictions = PackageOriginRestrictions' {}
- newPackageOriginRestrictions :: AllowPublish -> AllowUpstream -> PackageOriginRestrictions
- packageOriginRestrictions_publish :: Lens' PackageOriginRestrictions AllowPublish
- packageOriginRestrictions_upstream :: Lens' PackageOriginRestrictions AllowUpstream
Documentation
data PackageOriginRestrictions Source #
Details about the origin restrictions set on the package. The package origin restrictions determine how new versions of a package can be added to a specific repository.
See: newPackageOriginRestrictions
smart constructor.
PackageOriginRestrictions' | |
|
Instances
newPackageOriginRestrictions Source #
Create a value of PackageOriginRestrictions
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:publish:PackageOriginRestrictions'
, packageOriginRestrictions_publish
- The package origin configuration that determines if new versions of the
package can be published directly to the repository.
$sel:upstream:PackageOriginRestrictions'
, packageOriginRestrictions_upstream
- The package origin configuration that determines if new versions of the
package can be added to the repository from an external connection or
upstream source.
packageOriginRestrictions_publish :: Lens' PackageOriginRestrictions AllowPublish Source #
The package origin configuration that determines if new versions of the package can be published directly to the repository.
packageOriginRestrictions_upstream :: Lens' PackageOriginRestrictions AllowUpstream Source #
The package origin configuration that determines if new versions of the package can be added to the repository from an external connection or upstream source.