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

@@ -137,6 +137,9 @@ public:
bool mkdir(const char *filepath) {
return sdfs.mkdir(filepath);
}
bool rename(const char *oldfilepath, const char *newfilepath) {
return sdfs.remame(oldfilepath, newfilepath);
}
bool remove(const char *filepath) {
return sdfs.remove(filepath);
}

Loading…
Cancel
Save