9 // Flags for igEnumFiles
12 WGEFF_NoRecurse
= (1<<0), // only enumerate files directly in the specified path
13 WGEFF_FullPath
= (1<<1), // enumerated filenames are specified with full path (instead of relative to proj root)
14 WGEFF_DirStatusDelta
= (1<<2), // include directories, in enumeration, that have a recursive status != WGFS_Normal (may have a slightly better performance than WGEFF_DirStatusAll)
15 WGEFF_DirStatusAll
= (1<<3), // include directories, in enumeration, with recursive status
16 WGEFF_EmptyAsNormal
= (1<<4), // report sub-directories, with no versioned files, as WGFS_Normal instead of WGFS_Empty
17 WGEFF_SingleFile
= (1<<5) // indicates that the status of a single file or dir, specified by pszSubPath, is wanted
20 // NOTE: Special behavior for directories when specifying WGEFF_SingleFile:
22 // * when combined with WGEFF_SingleFile the returned status will only reflect the immediate files in the dir,
23 // NOT the recusrive status of immediate sub-dirs
24 // * unlike a normal enumeration where the project root dir always is returned as WGFS_Normal regardless
25 // of WGEFF_EmptyAsNormal, the project root will return WGFS_Empty if no immediate versioned files
26 // unless WGEFF_EmptyAsNormal is specified
27 // * WGEFF_DirStatusDelta and WGEFF_DirStatusAll are ignored and can be omitted even for dirs
41 WGFS_Unversioned
= -2,
50 WGFF_Directory
= (1<<0) // enumerated file is a directory
54 void fputsha1(LPBYTE sha1
, FILE *fp
);