MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / moveFile

Method moveFile

lib/vfs/fatfs.cc:194–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192 }
193
194 void moveFile(const Path& oldPath, const Path& newPath) override
195 {
196 mount();
197 auto oldPathStr = toUpper(oldPath.to_str());
198 auto newPathStr = toUpper(newPath.to_str());
199 FRESULT res = f_rename(oldPathStr.c_str(), newPathStr.c_str());
200 throwError(res);
201 }
202
203 void createDirectory(const Path& path) override
204 {

Callers

nothing calls this directly

Calls 2

toUpperFunction · 0.85
to_strMethod · 0.80

Tested by

no test coverage detected