Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upofDirectory return wrong value #6190
Open
Comments
|
I think it's better if the documentation was just changed to: Returns: true if directory was created successfully or already exists instead of touching the core bool ofDirectory::exists() const; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


In the documentation it says
Returns: true if directory was created successfully
However when I look in the code it will always return true:
Basically when read as bDoesExistAlready is true the return value should be false.
However this gets tricky if the creation of the directory fails, it will then also return false which would then have different meaning.