git_target_tag Function

public function git_target_tag(url, tag) result(self)

Target a git tag

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: url

Target URL of the git repository

character(len=*), intent(in) :: tag

Tag name of interest

Return Value type(git_target_t)

New git target


Source Code

    function git_target_tag(url, tag) result(self)

        !> Target URL of the git repository
        character(len=*), intent(in) :: url

        !> Tag name of interest
        character(len=*), intent(in) :: tag

        !> New git target
        type(git_target_t) :: self

        self%descriptor = git_descriptor%tag
        self%url = url
        self%object = tag

    end function git_target_tag