MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / DirectoryExists

Method DirectoryExists

Source/Engine/Platform/Android/AndroidFileSystem.cpp:148–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146}
147
148bool AndroidFileSystem::DirectoryExists(const StringView& path)
149{
150 struct stat fileInfo;
151 const StringAsANSI<> pathANSI(*path, path.Length());
152 if (stat(pathANSI.Get(), &fileInfo) != -1)
153 {
154 return S_ISDIR(fileInfo.st_mode);
155 }
156 return false;
157}
158
159bool AndroidFileSystem::DirectoryGetFiles(Array<String>& results, const String& path, const Char* searchPattern, DirectorySearchOption option)
160{

Callers

nothing calls this directly

Calls 3

statClass · 0.70
LengthMethod · 0.45
GetMethod · 0.45

Tested by

no test coverage detected