Check that two git targets are equal All checks passed!
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(git_target_t), | intent(in) | :: | this | |||
class(serializable_t), | intent(in) | :: | that |
logical function git_is_same(this,that) class(git_target_t), intent(in) :: this class(serializable_t), intent(in) :: that git_is_same = .false. select type (other=>that) type is (git_target_t) if (.not.(this%descriptor==other%descriptor)) return if (.not.(this%url==other%url)) return if (.not.(this%object==other%object)) return class default ! Not the same type return end select !> All checks passed! git_is_same = .true. end function git_is_same