MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / SortDirectoryListing

Function SortDirectoryListing

Source/SampleBrowser.cpp:209–215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

207 }
208
209 void SortDirectoryListing(StringArray& listing)
210 {
211 std::sort(listing.begin(), listing.end(), [](const String& a, const String& b)
212 {
213 return CompareDirectoryListing(a, b) < 0;
214 });
215 }
216}
217
218void SampleBrowser::SetDirectory(String dirPath)

Callers 1

SetDirectoryMethod · 0.85

Calls 1

CompareDirectoryListingFunction · 0.85

Tested by

no test coverage detected