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

Delphi (TCIntf.pas)

function TCVcsFileMainExtension( AFile: String ): String;  

Parameters

Name
Description
AFile
Full local path of the file.


Return Value

The extension of the main file for this type of file.

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 TCVcsFileMainExtension( pFile: PChar; const pExt: PChar ): Integer; stdcall;  


 


© 1995-2013 MCN Software Ltd