Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
68 lines (34 sloc) 2.56 KB

type: version

This is the numeric method of indicating the file version, which is compact, convenient and fast. It makes use of a short string to define the version number. Version types are available as both client and core inspectors, so if you don't find what you want in one guide, please check the other.

bug revision of <version> : integer

If the stage is present the bug revision is the number after the stage. If absent, zero is implied.

build revision of <version> : integer

Returns the final component of a version (Major.Minor.RevisionStageBuild).Example: build revision of version "7.1.2.70" - Returns 70.

extrema of <version> : ( version, version )

Returns the minimum and maximum extreme values of the given list of <version> types.

major revision of <version> : integer

The number before the first period in the version string.Example: major revision of version of file "name" > 4 - Returns True if the major revision number is greater than the specified number.

maximum of <version> : version

Returns the maximum value from a list of <version> types.

minimum of <version> : version

Returns the minimum value from a list of <version> types.

minor revision of <version> : integer

The number immediately after the first period in the version string. If absent, zero is implied.

pad of <version> : version

Returns a version object which is padded with zero values.

patch revision of <version> : integer

No documentation exists.

stage of <version> : stage

The stage is represented by the letter in the version string. It may be 'a' for alpha, 'b' for beta, 'd' for development or 'f' for final. If absent, final is implied.

unique value of <version> : version with multiplicity

Returns the unique values of a given list of <version> types, removing duplicates and sorting by value.

<version> as string : string

Turns a version type into a string of the form "1.2.3.4".Example: version of regapp "bigfix.exe" as string = "1.0.45.0" - Returns True if the BigFix application has the specified version.Example: version of package "BESAgent" of rpm as string = "3.1.0.19-1" - TRUE if the BESAgent program has the given version.

<version> as version : version

Reflexive cast of version.

<version> < <version> : boolean

No documentation exists.

<version> <= <version> : boolean

No documentation exists.

<version> = <version> : boolean

No documentation exists.

You can’t perform that action at this time.