ModulesFs ModuleMelon.std.fs.renameDirectory(path, newName)On this pageMelon.std.fs.renameDirectory(path, newName)Renames the target directory.Status: stable Returns: voidParametersNameTypeDescriptionpathstringThe target directory pathnewNamestringThe new nameExample usageconst { renameDirectory } = Melon.fs;renameDirectory("./myDirectory", "documents");