Helix Core is now P4. Product user interfaces will be updated soon. Learn more >>

P4 API for Go Documentation | 2025.2

# P4Integration struct

## Description

The `P4Integration` struct provides a utility for accessing and managing the details of an integration record in a P4 Server depot. Each `P4Integration` instance represents a single integration record associated with a specific revision of a file. These objects are typically created by the `RunFilelog` method and provide information about how a file was integrated, the file path involved, and the range of revisions used for the integration.

## Table of Methods

This struct returns the attributes of an integration record for a `P4Revision` struct. Use `the RunFilelog()` method to get the attributes.

Method | Type | Description
--- | --- | ---
`How` | String | Represents the type of the integration record, describing how the record was created (for example, "branch into", "merge from", "copy into").
`File` | String | The path to the file being integrated to or from.
`SRev` | Int | The start revision number used for this integration.
`ERev` | Int | The end revision number used for this integration.

Your search for returned results