Skip to content

Implement Repo Deletion#26

Open
triplem wants to merge 3 commits into
dergachev:masterfrom
devopskube:delete
Open

Implement Repo Deletion#26
triplem wants to merge 3 commits into
dergachev:masterfrom
devopskube:delete

Conversation

@triplem

@triplem triplem commented Dec 31, 2016

Copy link
Copy Markdown

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.

@dergachev

Copy link
Copy Markdown
Owner

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

@tainewoo

Copy link
Copy Markdown

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants