ModulesFs ModuleMelon.std.fs.renameFile(path, newName)On this pageMelon.std.fs.renameFile(path, newName)Renames a file to the new desired name.Status: stable Returns: voidParametersNameTypeDescriptionpathstringThe target path to the filenewNamestringThe new desired nameExample usageconst { renameFile } = Melon.fs;renameFile("./hi.txt", "./hello.txt");