We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e016a4 commit 9a36cfdCopy full SHA for 9a36cfd
libraries/SD/src/SD.h
@@ -68,6 +68,14 @@ class SDClass {
68
return (boolean)SDFS.exists(filepath.c_str());
69
}
70
71
+ boolean rename(const char* filepathfrom, const char* filepathto) {
72
+ return (boolean)SDFS.rename(filepathfrom, filepathto);
73
+ }
74
+
75
+ boolean rename(const String &filepathfrom, const String &filepathto) {
76
+ return (boolean)rename(filepathfrom.c_str(), filepathto.c_str());
77
78
79
boolean mkdir(const char *filepath) {
80
return (boolean)SDFS.mkdir(filepath);
81
0 commit comments