TCDVcsGetFileGroupExt
Return to Introduction  Previous page  Next page
Returns the main file extension for a file that is a member of a group.

Delphi (TCDirectIntf.pas)

function VcsGetFileGroupExt( FileName: String; var Ext: String ): Integer;  

Parameters

Name
Description
FileName
Full local path of the file.
Ext (Out)
The file extension of the main file in the group.


Return Value

Err_OK if successful or an error code indicating the error.

Remarks

Since files are archived under their main extension, it is often important when building a list of local files that you ignore files that are a member of a Group, but do not have the main extension. This is because, when file groups are enabled on a repository, the associated files are archived together with the main file as a group and do not appear in the repository as separate entities.

For more information on File Groups, refer to the main Team Coherence help file.

Exported

function TCDVcsGetFileGroupExt( pFileName: PChar; const pExt: PChar ): Integer; stdcall;  


 


© 1995-2018 MCN Software