Deletes the given path whether it's a file or a directory. If |path| is a
directory all contents will be deleted. If |recursive| is true (1) any sub-
directories and their contents will also be deleted (equivalent to executing
"rm -rf", so use with caution). On POSIX environments if |path| is a
symbolic link then only the symlink will be deleted. Returns true (1) on
successful deletion or if |path| does not exist. Calling this function on
the browser process UI or IO threads is not allowed.
Deletes the given path whether it's a file or a directory. If |path| is a directory all contents will be deleted. If |recursive| is true (1) any sub- directories and their contents will also be deleted (equivalent to executing "rm -rf", so use with caution). On POSIX environments if |path| is a symbolic link then only the symlink will be deleted. Returns true (1) on successful deletion or if |path| does not exist. Calling this function on the browser process UI or IO threads is not allowed.