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

Next:delete-directory ( path -- )


Vocabulary
io.directories

Inputs
patha pathname string


Outputs
None

Word description
Deletes a file.

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

Definition


Methods