You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

The changeset tags collection Tags is used by the Changeset object and provides access to the list of tags associated with the changeset.  It includes functions to select tags in the collection. The tags are sorted by modified date - earliest first, and then by name.

Properties

NameDescriptionReturn TypeUsage Example
CountReturns number of tags in the collectionInteger$Source.RepoName.Changesets.First().Tags.Count$3





Functions

Name and ParametersDescriptionReturn TypeUsage Example
First()Gets first tag from the collectionChangeset Tag$Source.RepoName.Changesets.First().Tags.First().Name$"tag1"
First(string property, string operator, string value, bool ignoreCase)

Gets first matching tag from the collection for given property using given operator. See list of valid operators below.

Changeset Tag$Source.RepoName.BuiltChangeset.Tags.First("TaggerName", Equals, "Ada", True).Name$"v1.1_release"
Item(integer index)Gets a tag in the collection by zero-based index numberChangeset Tag

Last()Gets last tag from the collectionChangeset Tag

Last(string property, string operator, string value, bool ignoreCase)Gets last matching tag from the collection for given property using given operator. See list of valid operators below.Changeset Tag

Where(string property, string operator, string value, bool ignoreCase)Gets matching tags from collection for given property using given operator. See list of valid operators below.Changeset Tags Collection






Operators

  • Equals
  • DoesNotEqual
  • Contains
  • DoesNotContain
  • StartsWith
  • DoesNotStartWith
  • EndsWith
  • DoesNotEndWith
  • IsRegexMatch
  • IsNotRegexMatch



  • No labels