8000
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.
2 parents e72c29b + 9a36cfd commit 3f19be7Copy full SHA for 3f19be7
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