MCPcopy Create free account
hub / github.com/WinMerge/winmerge / LoadAndSortFiles

Function LoadAndSortFiles

Src/DirTravel.cpp:32–37  ·  view source on GitHub ↗

* @brief Load arrays with all directories & files in specified dir */

Source from the content-addressed store, hash-verified

30 * @brief Load arrays with all directories & files in specified dir
31 */
32void LoadAndSortFiles(const String& sDir, DirItemArray* dirs, DirItemArray* files, bool casesensitive)
33{
34 LoadFiles(sDir, dirs, files);
35 Sort(dirs, casesensitive);
36 Sort(files, casesensitive);
37}
38
39/**
40 * @brief Find file and sub-folder names from given folder.

Callers 4

DirScan_GetItemsFunction · 0.85
GetColorSchemeNamesFunction · 0.85
LoadFromDirectoryMethod · 0.85
GetItemsForPatchListMethod · 0.85

Calls 2

LoadFilesFunction · 0.85
SortFunction · 0.85

Tested by

no test coverage detected