delete-tree
function
babashka.fs/delete-tree
(delete-tree [root] [root {:keys [force]}])Deletes a file tree `root` using [[walk-file-tree]]. Similar to `rm -rf`. Does not follow symlinks.
`force` ensures read-only directories/files are deleted. Similar to `chmod -R +wx` + `rm -rf`
Examples
No examples yet. Be the first to add one!