Configuration meta data for a dependency
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
type(git_target_t), | public, | allocatable | :: | git |
Git descriptor |
||
character(len=:), | public, | allocatable | :: | name |
Name of the dependency |
||
character(len=:), | public, | allocatable | :: | namespace |
Namespace which the dependency belongs to. Enables multiple dependencies with the same name. Required for dependencies that are obtained via the official registry. |
||
character(len=:), | public, | allocatable | :: | path |
Local target |
||
type(preprocess_config_t), | public, | allocatable | :: | preprocess(:) |
Requested macros for the dependency |
||
type(version_t), | public, | allocatable | :: | requested_version |
The requested version of the dependency. The latest version is used if not specified. |
Print information on this instance
Write information on instance
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(dependency_config_t), | intent(in) | :: | self |
Instance of the dependency configuration |
||
integer, | intent(in) | :: | unit |
Unit for IO |
||
integer, | intent(in), | optional | :: | verbosity |
Verbosity of the printout |
type :: dependency_config_t
!> Name of the dependency
character(len=:), allocatable :: name
!> Local target
character(len=:), allocatable :: path
!> Namespace which the dependency belongs to.
!> Enables multiple dependencies with the same name.
!> Required for dependencies that are obtained via the official registry.
character(len=:), allocatable :: namespace
!> The requested version of the dependency.
!> The latest version is used if not specified.
type(version_t), allocatable :: requested_version
!> Requested macros for the dependency
type(preprocess_config_t), allocatable :: preprocess(:)
!> Git descriptor
type(git_target_t), allocatable :: git
contains
!> Print information on this instance
procedure :: info
end type dependency_config_t