MCPcopy Create free account
hub / github.com/Project-LemonLime/Project_LemonLime / GetFileList

Function GetFileList

src/base/LemonUtils.cpp:13–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11namespace Lemon::common {
12
13 auto GetFileList(const QDir &dir) -> QStringList {
14 return dir.entryList(QStringList{"*", "*.*"}, QDir::Hidden | QDir::Files);
15 }
16
17 auto FileExistsIn(const QDir &dir, const QString &fileName) -> bool {
18 return GetFileList(dir).contains(fileName);

Callers 1

FileExistsInFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected