# File lib/r10k/util/purgeable.rb, line 47 def purge! if stale_contents.empty? logger.debug1 "No unmanaged contents in #{managed_directory}, nothing to purge" else stale_contents.each do |fname| fpath = File.join(self.managed_directory, fname) logger.info "Removing unmanaged path #{fpath}" FileUtils.rm_rf(fpath, :secure => true) end end end