Method | Description | |
---|---|---|
ActionToString ( System.Action action ) : string | ||
Add ( string filePath, int changelistID ) : bool | ||
CreateChangelist ( string description, int &changelistID ) : bool |
Creates a new changelist with the given description.
|
|
Delete ( string filePath, int changelistID ) : bool | ||
EasyDelete ( string filePath, int changelistID ) : void | ||
EasyEdit ( List |
This utility method will attempt whatever is necessary to get the given file path into an editable state as far as Perforce is concerned.
|
|
EasyEdit ( string filePaths, int changelistID, bool reopenDeleted ) : void |
This utility method will attempt whatever is necessary to get the given file path into an editable state as far as Perforce is concerned.
|
|
Edit ( string filePath, int changelistID ) : bool | ||
FindChangelist ( string descriptionStartsWith ) : List |
Finds a list of changelists whose first 31 characters of the description match the given description, case insensitive.
|
|
GetChangelist ( int changelistID ) : |
||
GetClientSpec ( string client, ClientSpec &clientSpec ) : bool | ||
GetClientSpecs ( ) : List |
||
GetClients ( ) : List |
||
GetFileStats ( string filePath ) : List |
||
GetOpenedFileStats ( int optionalChangelist ) : List |
||
GetOpenedFiles ( int optionalChangelist ) : List |
||
GetPendingChangelists ( ) : List |
||
Initialize ( ) : void |
Initialize P4Shell with the current system defaults.
|
|
Integrate ( string fromFile, string toFile, System.Operation operation ) : bool | ||
IsHeadRevisionDelete ( |
||
IsHeadRevisionDelete ( string filePath, int changelistID ) : bool | ||
PingServer ( ) : bool |
Ping's the Perforce server using the current P4Shell settings.
|
|
Reopen ( string filePath, int newChangelistID ) : bool | ||
Revert ( string filePath ) : bool | ||
SetFileReadOnly ( string filePath ) : void | ||
SetFileWritable ( string filePath ) : void | ||
SetFilesReadOnly ( List |
||
SetFilesWriteable ( List |
||
StringToAction ( string actionName ) : System.Action | ||
Submit ( int changelistID, string description ) : bool |
Submits the given changelist, and updates it's description if provided. Note that when submitting the default changelist, you must always provide a description.
|
|
Sync ( string filePath ) : bool |
Method | Description | |
---|---|---|
Execute ( string arguments, string input ) : void |
public static ActionToString ( System.Action action ) : string | ||
action | System.Action | |
return | string |
public static Add ( string filePath, int changelistID ) : bool | ||
filePath | string | |
changelistID | int | |
return | bool |
public static CreateChangelist ( string description, int &changelistID ) : bool | ||
description | string | The description of the changelist. |
changelistID | int | |
return | bool |
public static Delete ( string filePath, int changelistID ) : bool | ||
filePath | string | |
changelistID | int | |
return | bool |
public static EasyDelete ( string filePath, int changelistID ) : void | ||
filePath | string | |
changelistID | int | |
return | void |
public static EasyEdit ( List |
||
fileStats | List |
|
changelistID | int | |
reopenDeleted | bool | |
return | void |
public static EasyEdit ( string filePaths, int changelistID, bool reopenDeleted ) : void | ||
filePaths | string | |
changelistID | int | The changelist ID to use if it is necessary to open the file. |
reopenDeleted | bool | |
return | void |
public static Edit ( string filePath, int changelistID ) : bool | ||
filePath | string | |
changelistID | int | |
return | bool |
public static FindChangelist ( string descriptionStartsWith ) : List |
||
descriptionStartsWith | string | The given description. |
return | List |
public static GetChangelist ( int changelistID ) : |
||
changelistID | int | |
return |
public static GetClientSpec ( string client, ClientSpec &clientSpec ) : bool | ||
client | string | |
clientSpec | ClientSpec | |
return | bool |
public static GetFileStats ( string filePath ) : List |
||
filePath | string | |
return | List |
public static GetOpenedFileStats ( int optionalChangelist ) : List |
||
optionalChangelist | int | |
return | List |
public static GetOpenedFiles ( int optionalChangelist ) : List |
||
optionalChangelist | int | |
return | List |
public static GetPendingChangelists ( ) : List |
||
return | List |
public static Integrate ( string fromFile, string toFile, System.Operation operation ) : bool | ||
fromFile | string | |
toFile | string | |
operation | System.Operation | |
return | bool |
public static IsHeadRevisionDelete ( |
||
fileStat | ||
return | bool |
public static IsHeadRevisionDelete ( string filePath, int changelistID ) : bool | ||
filePath | string | |
changelistID | int | |
return | bool |
public static Reopen ( string filePath, int newChangelistID ) : bool | ||
filePath | string | |
newChangelistID | int | |
return | bool |
public static Revert ( string filePath ) : bool | ||
filePath | string | |
return | bool |
public static SetFileReadOnly ( string filePath ) : void | ||
filePath | string | |
return | void |
public static SetFileWritable ( string filePath ) : void | ||
filePath | string | |
return | void |
public static SetFilesReadOnly ( List |
||
files | List |
|
return | void |
public static SetFilesWriteable ( List |
||
files | List |
|
return | void |
public static StringToAction ( string actionName ) : System.Action | ||
actionName | string | |
return | System.Action |
public static Submit ( int changelistID, string description ) : bool | ||
changelistID | int | The changelistID to submit. |
description | string | The changelist description. For changelists other than the default changelist, /// this can be null, in which case the existing changelist description will be used. |
return | bool |
public static Sync ( string filePath ) : bool | ||
filePath | string | |
return | bool |