Clojure-Contrib

Add delete-file and delete-file-recursively functions to java-utils

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Description

Another one of those bizarre omissions from the JDK. Discussed this with Chouser on IRC, and he thinks it's a good idea.

I've added it to java-utils, though there are enough file-specific functions now that I think a new file-utils namespace could be spun off.

Activity

Hide
Assembla Importer added a comment -

technomancy said: [file:cjQy7qTi0r3R7MeJe5afGb]: Implementation

Show
Assembla Importer added a comment - technomancy said: [file:cjQy7qTi0r3R7MeJe5afGb]: Implementation
Hide
Assembla Importer added a comment -

technomancy said: [file:cjQBUaTi0r3R7MeJe5afGb]: First test

Show
Assembla Importer added a comment - technomancy said: [file:cjQBUaTi0r3R7MeJe5afGb]: First test
Hide
Assembla Importer added a comment -

technomancy said: [file:cjQEqGTi0r3R7MeJe5afGb]: Second test

Show
Assembla Importer added a comment - technomancy said: [file:cjQEqGTi0r3R7MeJe5afGb]: Second test
Hide
Assembla Importer added a comment -

chouser@n01se.net said: Did you try test-delete-file-recursively on Windows? Looks like it might have issues there. I'll apply the 0001 and 0002 patches, but please take a look at 0003 to see if there's a way to be sure it won't cause false negatives.

Show
Assembla Importer added a comment - chouser@n01se.net said: Did you try test-delete-file-recursively on Windows? Looks like it might have issues there. I'll apply the 0001 and 0002 patches, but please take a look at 0003 to see if there's a way to be sure it won't cause false negatives.
Hide
Assembla Importer added a comment -

technomancy said: (In revision:8eef617aac7b077421d4aa9c84a2df189af6ee17) java-utils: Add delete-file and delete-file-recursively functions

Also added test for delete-file. Refs #33

Signed-off-by: Chouser <chouser@n01se.net>

Branch: master

Show
Assembla Importer added a comment - technomancy said: (In revision:8eef617aac7b077421d4aa9c84a2df189af6ee17) java-utils: Add delete-file and delete-file-recursively functions Also added test for delete-file. Refs #33 Signed-off-by: Chouser <chouser@n01se.net> Branch: master
Hide
Assembla Importer added a comment -

stuart.sierra said: Updating tickets (#1, #2, #3, #4, #6, #20, #23, #25, #30, #31, #33, #34, #35, #37, #38, #52, #55, #58, #59, #60, #61, #62, #63, #64)

Show
Assembla Importer added a comment - stuart.sierra said: Updating tickets (#1, #2, #3, #4, #6, #20, #23, #25, #30, #31, #33, #34, #35, #37, #38, #52, #55, #58, #59, #60, #61, #62, #63, #64)
Hide
Assembla Importer added a comment -

stu said: Updating tickets (#2, #3, #33, #38, #51, #52, #65, #67, #70)

Show
Assembla Importer added a comment - stu said: Updating tickets (#2, #3, #33, #38, #51, #52, #65, #67, #70)

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: