Skip to content

Commit

Permalink
Add in older mv-dir fns
Browse files Browse the repository at this point in the history
  • Loading branch information
Min Huang committed Nov 6, 2010
1 parent 0f1609d commit 533534b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/clj_file_utils/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,20 @@
:default
(FileUtils/moveToDirectory from-file to-file true))))

(defn mv-dir
"DEPRECATED. Prefer mv.
Moves a directory"
{:deprecated "0.2.0"}
[from to]
(mv from to))

(defn mv-dir-to-dir
"DEPRECATED. Prefer mv.
Moves a directory to another directory."
{:deprecated "0.2.0"}
[from to]
(mv from to))

(defn chmod
"Changes file permissions (UNIX only); for portability, consider pchmod."
[args path]
Expand Down

0 comments on commit 533534b

Please sign in to comment.