Class P4_Revision

Description

Utility class providing easy access to the revisions of P4_DepotFile objects. Created by P4::run_filelog().

Properties

$rev->action -> string

Returns the name of the action which gave rise to this revision of the file.

$rev->change -> long

Returns the change number that gave rise to this revision of the file.

$rev->client -> string

Returns the name of the client from which this revision was submitted.

$rev->depotFile -> string

Returns the name of the depot file to which this object refers.

$rev->desc -> string

Returns the description of the change which created this revision. Note that only the first 31 characters are returned unless you use p4 filelog -L for the first 250 characters, or p4 filelog -l for the full text.

$rev->digest -> string

Returns the MD5 digest of this revision.

$rev->fileSize -> long

Returns this revision’s size in bytes.

$rev->integrations -> array

Returns the array of P4_Integration objects for this revision.

$rev->rev -> long

Returns the number of this revision of the file.

$rev->time -> string

Returns the date/time that this revision was created.

$rev->type -> string

Returns this revision’s Helix Core Server filetype.

$rev->user -> string

Returns the name of the user who created this revision.

Static Methods

None.

Instance Methods

None.