Noticed a few things when documenting ofFileUtils.h:
ofFile(path, mode, binary) constructor opens w/ default binary=true while:
- ofFile::open() opens w/ binary=false
- ofFile::changeMode() uses binary=false
- ofDirectory::getFile() uses binary=false
ofFile::create(), how to set path before creating? Both the constructor and open() set the path but also try opening the file...
ofFile::setReadOnly() & ofDirectory::setReadOnly() should be setReadable() to match setWriteable(). I feel this naming also conflicts with the ReadOnly access mode.
Noticed a few things when documenting ofFileUtils.h:
ofFile(path, mode, binary) constructor opens w/ default binary=true while:
ofFile::create(), how to set path before creating? Both the constructor and open() set the path but also try opening the file...
ofFile::setReadOnly() & ofDirectory::setReadOnly() should be setReadable() to match setWriteable(). I feel this naming also conflicts with the ReadOnly access mode.