Delphi (TCDirectIntf.pas)
function VcsGetFileCheckoutPath( FileID: Cardinal; var LockedRevision: Cardinal; var FullPath: String; var BranchedFrom, BranchTip: Cardinal ): Integer;
|
Parameters
Name
|
Description
|
FileID
|
ID of the file.
|
LockedRevision (Out)
|
Returns the revision of the file that is locked.
|
FilePath (Out)
|
Returns the full path of the local file.
|
BranchedFrom (Out)
|
Returns the ID of the root revision for this branch, or 0 if the locked revision is in the main development trunk
|
BranchTip (Out)
|
Returns the ID of the tip revision on this branch or, if not a branch, the main tip revision.
If BranchTip <> LockedRevision, a branch will occur when the file is checked in. |
Return Value
Err_OK if successful or an error code indicating the error.
Remarks
Since a file can be checked out to any directory, this may or may not return the same path as VcsGetFileWorkingPath.
Exported
function TCDVcsGetFileCheckoutPath( FileID: Cardinal; var LockedRevision: Cardinal; const pFilePath: PChar; var BranchedFrom, BranchTip: Cardinal ): Integer; stdcall;
|
© 1995-2018 MCN Software