backend/components/AGitRepository.php
/**
	 * Determines whether the repository has a specific tag or not
	 * @param AGitTag|string $tag a tag instance or the name of a tag
	 * @return boolean true if tag exists
	 */
Determines whether the repository has a specific tag or not
@param AGitTag|string $tag a tag instance or the name of a tag
@return boolean true if tag exists
Determines whether the repository has a specific tag or not @param AGitTag|string $tag a tag instance or the name of a tag @return boolean true if tag exists
public function hasTag($tag)
	{
		if ($tag instanceof AGitTag) {
			$tag = $tag->name;
		}
		$tags = $this->getTags();
		return isset($tags[$tag]);
	}
public function hasTag ( $ tag ) { if ( $ tag instanceof AGitTag ) { $ tag = $ tag -> name ; } $ tags = $ this -> getTags ( ) ; return isset ( $ tags [ $ tag ] ) ; }
Determines whether the repository has a specific tag or not
 @param AGitTag|string $tag a tag instance or the name of a tag
 @return boolean true if tag exists
Determines whether the repository has a specific tag or not @param AGitTag|string $tag a tag instance or the name of a tag @return boolean true if tag exists