FastColor/RemoveFPSCheat/LLVM-Style
This commit is contained in:
@@ -9,12 +9,13 @@
|
||||
|
||||
#include <filesystem>
|
||||
|
||||
std::vector<RenderD7::FileSystem::Entry> RenderD7::FileSystem::GetDirContent(std::string path)
|
||||
{
|
||||
std::vector<RenderD7::FileSystem::Entry>
|
||||
RenderD7::FileSystem::GetDirContent(std::string path) {
|
||||
std::vector<RenderD7::FileSystem::Entry> res;
|
||||
for(const auto& entry : std::filesystem::directory_iterator(std::filesystem::path(path)))
|
||||
{
|
||||
res.push_back({entry.path().string(), GetFileName(entry.path().string()), entry.is_directory()});
|
||||
for (const auto &entry :
|
||||
std::filesystem::directory_iterator(std::filesystem::path(path))) {
|
||||
res.push_back({entry.path().string(), GetFileName(entry.path().string()),
|
||||
entry.is_directory()});
|
||||
}
|
||||
return res;
|
||||
}
|
||||
Reference in New Issue
Block a user