summaryrefslogtreecommitdiffstats
path: root/lib/puppet/util/rdoc/code_objects.rb
diff options
context:
space:
mode:
authorDaniel Pittman <daniel@puppetlabs.com>2011-04-08 13:57:31 -0700
committerDaniel Pittman <daniel@puppetlabs.com>2011-04-08 15:17:55 -0700
commitf9a2ffd53054b67924790b0386cf74435497c3f1 (patch)
treed7b705a2d5ba4e5a24f09cc70cfd0bef2f91d49e /lib/puppet/util/rdoc/code_objects.rb
parent78cb48cea0b14eabdfd728c2f9fc183f587faded (diff)
downloadpuppet-f9a2ffd53054b67924790b0386cf74435497c3f1.tar.gz
puppet-f9a2ffd53054b67924790b0386cf74435497c3f1.tar.xz
puppet-f9a2ffd53054b67924790b0386cf74435497c3f1.zip
maint: use FileUtil to remove files, not exec
We used to shell out to chmod and rm to clean up temporary files; this lead to the cleanup method here being one of the largest consumers of walltime. Replacing that with FileUtil calls is as, or more, secure, and performs sufficiently well that we can just delegate. Reviewed-By: Matt Robinson <matt@puppetlabs.com>
Diffstat (limited to 'lib/puppet/util/rdoc/code_objects.rb')
0 files changed, 0 insertions, 0 deletions