Check that two git targets are equal
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(git_target_t), | intent(in) | :: | this |
Two input git targets |
||
type(git_target_t), | intent(in) | :: | that |
Two input git targets |
logical function git_target_eq(this,that) result(is_equal)
!> Two input git targets
type(git_target_t), intent(in) :: this,that
is_equal = this%descriptor == that%descriptor .and. &
this%url == that%url .and. &
this%object == that%object
end function git_target_eq