FileSpec Class |
Namespace: Perforce.P4
The FileSpec type exposes the following members.
| Name | Description | |
|---|---|---|
| FileSpec |
Default Constructor
| |
| FileSpec(FileSpec) |
Copy Constructor
| |
| FileSpec(PathSpec, VersionSpec) |
Constructor given path and version
| |
| FileSpec(DepotPath, ClientPath, LocalPath, VersionSpec) |
Constructor
|
| Name | Description | |
|---|---|---|
| ClientPath |
Gets or sets the client path
| |
| DepotPath |
Gets or sets the depot path
| |
| LocalPath |
Gets or sets the Local path
| |
| Version |
Gets or sets the VersionSpec
|
| Name | Description | |
|---|---|---|
| ClientSpec(String) |
Get a Filespec from a ClientSpec path
| |
| ClientSpec(String, VersionSpec) |
Create a FileSpec given Client path and VersionSpec
| |
| ClientSpec(String, Int32) |
Create a FileSpec given client path and revision
| |
| ClientSpecList |
Create a list of FileSpec objects from a list of client paths
| |
| DepotSpec(String) |
Create a FileSpec given a depotpath
| |
| DepotSpec(String, VersionSpec) |
Create a FileSpec given a depot path and VersionSpec
| |
| DepotSpec(String, Int32) |
Create a FileSpec given a depot path and revision
| |
| DepotSpecList |
Create a list of FileSpec objects from a list of depot paths
| |
| Equals |
Compare this FileSpec with another
(Overrides ObjectEquals(Object).) | |
| Finalize | (Inherited from Object.) | |
| GetHashCode |
Get the hashcode for this FileSpec
(Overrides ObjectGetHashCode.) | |
| GetType | (Inherited from Object.) | |
| LocalSpec(String) |
Create a FileSpec given a local file path
| |
| LocalSpec(String, VersionSpec) |
Create a FileSpec given a local file path and VersionSpec
| |
| LocalSpec(String, Int32) |
Create a FileSpec given a local file path and revision
| |
| LocalSpecArray(IListString) |
Create an array of FileSpec objects from a list of local paths
| |
| LocalSpecArray(String) |
Create an array of FileSpec objects from a list of local paths
| |
| LocalSpecList(IListString) |
Create a list of FileSpec objects from a list of local paths
| |
| LocalSpecList(String) |
Create a list of FileSpec objects from a list of local paths
| |
| MemberwiseClone | (Inherited from Object.) | |
| SplitDepotPath | ||
| StripVersion |
Create a copy of a filespec without a version
| |
| ToEscapedLocalPaths |
Copy the non-null entries into a new string array containing the local paths
escaped for special characters
| |
| ToEscapedPaths |
Copy the non-null entries into a new string array containing the paths
escaped for special characters
| |
| ToEscapedString |
Create an Perforce excaped string describing this FileSpec
| |
| ToEscapedStrings(FileSpec) |
Copy the non-null entries into a new string array
with the paths escaped for special characters
| |
| ToEscapedStrings(IListFileSpec) |
Copy the non-null entries into a new string array
with the paths escaped for special characters
| |
| ToPaths |
Copy the non-null entries into a new string array containing the paths.
| |
| ToString |
Create a string representing a FileSpec
(Overrides ObjectToString.) | |
| ToString(Type) |
Create a descriptive string for this FileSpec of the specified Type
| |
| ToStrings(FileSpec) |
Copy the non-null entries into a new string array.
| |
| ToStrings(IListFileSpec) |
Copy the non-null entries into a new string array.
| |
| UnversionedSpecList |
Copies a list of FileSpec objects without vesions
|