add SdManager rename method (#11)

This is going to be used in Rename/Move files and folders functionality
(on web)
This commit is contained in:
Yaroslav Nychkalo 2026-01-02 08:50:38 +02:00 committed by GitHub
parent 0589632f17
commit fe766f15cb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -30,6 +30,7 @@ class SDCardManager {
bool exists(const char* path) { return sd.exists(path); }
bool remove(const char* path) { return sd.remove(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 std::string& path, FsFile& file);