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

P4 API for Python Documentation | 2025.2

# Class P4.DepotFile

## Description

Utility class providing easy access to the attributes of a file in a P4 Server depot. Each `P4.DepotFile` object contains summary information about the file and a list of revisions (`P4.Revision` objects) of that file. Currently, only the `P4.run_filelog()` method returns a list of `P4.DepotFile` objects.

## Instance Attributes

### df.depotFile -> string

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

### df.revisions -> list

Returns a list of `P4.Revision` objects, one for each revision of the depot file.

## Class Methods

None.

## Instance Methods

None.

Your search for returned results