delete-directory ( path -- )
Factor handbook » Input and output » Directory manipulation » Deleting, moving, and copying files

Prev:delete-file ( path -- )
Next:move-file ( from to -- )


Vocabulary
io.directories

Inputs
patha pathname string


Outputs
None

Word description
Deletes a directory. The directory must be empty.

Errors
Throws an error if the directory could not be deleted.

Definition


Methods