File Class |
Namespace: Perforce.P4
The File type exposes the following members.
| Name | Description | |
|---|---|---|
| File |
Default constructor
| |
| File(DepotPath, ClientPath, Revision, Revision, Int32, FileAction, FileType, DateTime, String, String) |
Fully parameterized constructor
| |
| File(DepotPath, ClientPath, Revision, Revision, Int32, FileAction, FileType, DateTime, String, String, String) |
Fully parameterized constructor
|
| Name | Description | |
|---|---|---|
| ClientPath |
Gets or sets the client path
(Inherited from FileSpec.) | |
| DepotPath |
Gets or sets the depot path
(Inherited from FileSpec.) | |
| LocalPath |
Gets or sets the Local path
(Inherited from FileSpec.) | |
| Version |
Gets or sets the VersionSpec
(Inherited from FileSpec.) |
| Name | Description | |
|---|---|---|
| Equals |
Compare this FileSpec with another
(Inherited from FileSpec.) | |
| Finalize | (Inherited from Object.) | |
| FromFilesCmdTaggedData |
Return a File from a parsed Tagged Object
| |
| GetHashCode |
Get the hashcode for this FileSpec
(Inherited from FileSpec.) | |
| GetType | (Inherited from Object.) | |
| MemberwiseClone | (Inherited from Object.) | |
| ParseFilesCmdTaggedData |
Given a Tagged object from the server, instantiate this File from the object
| |
| StripVersion |
Create a copy of a filespec without a version
(Inherited from FileSpec.) | |
| ToEscapedString |
Create an Perforce excaped string describing this FileSpec
(Inherited from FileSpec.) | |
| ToString |
Create a string representing a FileSpec
(Inherited from FileSpec.) | |
| ToString(Type) |
Create a descriptive string for this FileSpec of the specified Type
(Inherited from FileSpec.) |
| Name | Description | |
|---|---|---|
| Action |
Last Action taken on this file
| |
| ChangeId |
What change contains this file?
| |
| Client |
The client/workspace name which contains this file.
| |
| HaveRev |
The revision of this file which is in the client/workspace
| |
| Stream |
Stream path, used when performing operations on stream spec:
editing, resolving, reverting.
| |
| SubmitTime |
DateTime when file was last submitted
| |
| Type |
FileType of the file
| |
| User |
The user which created this file
|