Browse Source

Add rename()

main
PaulStoffregen 4 years ago
parent
commit
c5292aeb8b
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      src/SD.h

+ 3
- 0
src/SD.h View File

bool mkdir(const char *filepath) { bool mkdir(const char *filepath) {
return sdfs.mkdir(filepath); return sdfs.mkdir(filepath);
} }
bool rename(const char *oldfilepath, const char *newfilepath) {
return sdfs.remame(oldfilepath, newfilepath);
}
bool remove(const char *filepath) { bool remove(const char *filepath) {
return sdfs.remove(filepath); return sdfs.remove(filepath);
} }

Loading…
Cancel
Save