MoveDirectory

Command: MoveDirectory


Description
MoveDirectory unlinks old directory name and links to
the new name. This is only possible if this directory is empty.
Parameters
string1 : Name of old directory
string2 : Name of new directory
boolean : A flag if operation succeded.
Author
Hehl
Bugs
-
Synopsis
string1 string2 MoveDirectory -> boolean
Examples
(NewSubDir) (Other) MoveDirectory -> True and ./NewSubDir
is now called ./Other provided it exists and is empty.
File
lib/sli/filesystem.sli
Remarks
This operator in fact only sequentially calls
RemoveDirectory MoveDirectory
POSIX statet this would be the same operator like renaming
a file but that did not work.