removeDirectory dir
i1 : dir = temporaryFileName() o1 = /tmp/M2-2532909-0/0
i2 : makeDirectory dir o2 = /tmp/M2-2532909-0/0
i3 : readDirectory dir o3 = {.., .} o3 : List
i4 : removeDirectory dir
The object removeDirectory is a compiled function.