Class: Dir

Dir

new Dir(obj)

Creates a new Dir reference, based on output from the p4 dirs command.

Parameters:
Name Type Description
obj object

Initialize the instance with data from the server (typical)

Source:

Members

children :Array.<PathItem>

The immediate directories and files under this directory.

Type:
  • Array.<PathItem>
Source:

(readonly) dir :string

The directory path in the server.

Type:
  • string
Source:

(readonly) name :string

For consistency with Node operations

Type:
  • string
Source:

(readonly) pathId :Array.<string>

For consistency with Node operations

Type:
  • Array.<string>
Source: