TCDVcsFileStatus
Return to Introduction  Previous page  Next page
Returns information about the status of a local file.

Delphi (TCDirectIntf.pas)

function VcsFileStatusvar ParentID, FileID: Cardinal; var FilePath, LockedBy: String; var Modified, Timestamp, CompressedSize, RevisionCount, ShareCount, Status: Integer; var IsVirtual, Frozen: Boolean ): Integer;  

Parameters

Name
Description
ParentID (In/Out)
Returns the unique ID of the parent Folder
FileID (In/Out)
If this is passed into this function, the FilePath returns the local path of the file. If zero, and the FilePath is specified, it will return the ID of the file.
FilePath (In/Out)
If this is passed into the function, and FileID is zero, FileID returns the ID of the specified file.
LockedBy (In/Out)
Who has this file locked.
Modified (Out)
The date this file was last modified (FileDate)
Timestamp (Out)
The timestamp of the tip revision. E.g. last checkin
CompressedSize (Out)
The size, in bytes, of the tip revision
RevisionCount (Out)
The number of revisions contained by this file
ShareCount (Out)
If this is the root of a share, indicates the number of files dependent on this one.
Status (Out)
The current status of the local file
IsVirtual (Out)
True if this is a virtual file
Frozen (Out)
True if development has been halted on this file


Return Value

Err_OK if successful or an error code indicating the error.

Remarks

See also: TCDVcsEnumFiles.

Exported

function TCDVcsFileStatusvar ParentID, FileID: Cardinal; const pFilePath, pLockedBy: PChar; var Modified, Timestamp, CompressedSize, RevisionCount, ShareCount, Status: Integer; var IsVirtual, Frozen: Boolean ): Integer; stdcall;  


 


© 1995-2018 MCN Software