fs.deleteΒΆ

boolean success fs.delete ( string path )

Delete a file or directory, directory must be empty to be deleted

Arguments:

  • path the path the file/directory to be deleted

Return:

  • success true if the file was successfully deleted