Found 2 other functions taking a
spiffs_DIR
argument:
Opens a directory stream corresponding to the given name. The stream is positioned at the first entry in the directory. On hydrogen builds the name argument is ignored as hydrogen builds always correspond to a flat file structure - no directories.
Closes a directory stream