Skip to content
Snippets Groups Projects
Unverified Commit 80ee48bf authored by Nemanja Glumac's avatar Nemanja Glumac Committed by GitHub
Browse files

Remove `delete-file!` function (#34306)

It was deprecated and left in a codebase for backwards compatibility.
But it seems we've migrated all references to the new method `delete-file-if-exists`.

The last time this was touched was three years ago.
Should be safe to remove.
parent f25d5b15
No related branches found
No related tags found
No related merge requests found
...@@ -40,7 +40,6 @@ ...@@ -40,7 +40,6 @@
assert-file-exists assert-file-exists
copy-file! copy-file!
create-directory-unless-exists! create-directory-unless-exists!
delete-file!
delete-file-if-exists! delete-file-if-exists!
download-file! download-file!
file-exists? file-exists?
......
...@@ -49,12 +49,6 @@ ...@@ -49,12 +49,6 @@
([file & more] ([file & more]
(dorun (map delete-file-if-exists! (cons file more))))) (dorun (map delete-file-if-exists! (cons file more)))))
(defn ^:deprecated delete-file!
"Alias for `delete-file-if-exists!`. Here for backwards compatibility. Prefer `delete-file-if-exists!` going
forward."
[& args]
(apply delete-file-if-exists! args))
(defn copy-file! (defn copy-file!
"Copy a `source` file (or directory, recursively) to `dest`." "Copy a `source` file (or directory, recursively) to `dest`."
[^String source ^String dest] [^String source ^String dest]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment