redmine_git_remote icon indicating copy to clipboard operation
redmine_git_remote copied to clipboard

Implement Repo Deletion

Open triplem opened this issue 8 years ago • 2 comments

Since I needed this one anyway, and the one implemented in #19 contained unnecessary fixes as well, we keept it simple and do one thing per PR.

triplem avatar Dec 31 '16 14:12 triplem

That's a scary rm -rf in there.... anyone have an idea of how to do this safer?

dergachev avatar Nov 27 '17 15:11 dergachev

maybe it's better to use FileUtils.remove_entry_secure :

http://ruby-doc.org/stdlib-1.9.3/libdoc/fileutils/rdoc/FileUtils.html#method-c-remove_entry_secure

tainewoo avatar May 15 '19 04:05 tainewoo