public static IValue RenameDirectory(State state, Arguments args) { // TODO: allow overwriting return(IoModule.Move("dir::move", state, args, (cName, nName, _) => Directory.Move(cName, nName))); }
public static IValue RenameFile(State state, Arguments args) { return(IoModule.Move("file::move", state, args, File.Move)); }