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 PackageDescription = PackageDescription' {}
- newPackageDescription :: PackageDescription
- packageDescription_format :: Lens' PackageDescription (Maybe PackageFormat)
- packageDescription_name :: Lens' PackageDescription (Maybe Text)
- packageDescription_namespace :: Lens' PackageDescription (Maybe Text)
- packageDescription_originConfiguration :: Lens' PackageDescription (Maybe PackageOriginConfiguration)
Documentation
data PackageDescription Source #
Details about a package.
See: newPackageDescription
smart constructor.
PackageDescription' | |
|
Instances
newPackageDescription :: PackageDescription Source #
Create a value of PackageDescription
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:format:PackageDescription'
, packageDescription_format
- A format that specifies the type of the package.
$sel:name:PackageDescription'
, packageDescription_name
- The name of the package.
$sel:namespace:PackageDescription'
, packageDescription_namespace
- The namespace of the package. The package component that specifies its
namespace depends on its type. For example:
- The namespace of a Maven package is its
groupId
. - The namespace of an npm package is its
scope
. - Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.
$sel:originConfiguration:PackageDescription'
, packageDescription_originConfiguration
- The package origin configuration for the package.
packageDescription_format :: Lens' PackageDescription (Maybe PackageFormat) Source #
A format that specifies the type of the package.
packageDescription_name :: Lens' PackageDescription (Maybe Text) Source #
The name of the package.
packageDescription_namespace :: Lens' PackageDescription (Maybe Text) Source #
The namespace of the package. The package component that specifies its namespace depends on its type. For example:
- The namespace of a Maven package is its
groupId
. - The namespace of an npm package is its
scope
. - Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.
packageDescription_originConfiguration :: Lens' PackageDescription (Maybe PackageOriginConfiguration) Source #
The package origin configuration for the package.