add SdManager rename method

This commit is contained in:
gebeto 2025-12-30 17:50:49 +02:00
parent bd4e670750
commit 1083bdabd6

View File

@ -29,6 +29,7 @@ class SDCardManager {
bool exists(const char* path) { return sd.exists(path); } bool exists(const char* path) { return sd.exists(path); }
bool remove(const char* path) { return sd.remove(path); } bool remove(const char* path) { return sd.remove(path); }
bool rmdir(const char* path) { return sd.rmdir(path); } bool rmdir(const char* path) { return sd.rmdir(path); }
bool rename(const char* path, const char* newPath) { return sd.rename(path, newPath); }
bool openFileForRead(const char* moduleName, const char* path, FsFile& file); bool openFileForRead(const char* moduleName, const char* path, FsFile& file);
bool openFileForRead(const char* moduleName, const std::string& path, FsFile& file); bool openFileForRead(const char* moduleName, const std::string& path, FsFile& file);