openframeworks / openFrameworks

openFrameworks is a community-developed cross platform toolkit for creative coding in C++.
http://openframeworks.cc
Other
9.84k stars 2.56k forks source link

ofFile::doesFileExist simplified #7970

Closed dimitre closed 1 month ago

dimitre commented 1 month ago

no need to open the file. using of::filesystem::exists instead

reason: file existence can be tested using partition index, not "moving the needle" to the file itself.