るりまサーチ (Ruby 2.4.0)

最速Rubyリファレンスマニュアル検索!
2件ヒット [1-2件を表示] (0.032秒)

別のキーワード

  1. fileutils remove_entry
  2. fileutils remove_dir
  3. fileutils remove
  4. fileutils remove_file
  5. fileutils remove_entry_secure

ライブラリ

検索結果

FileUtils.#rm_rf(list, options = {}) -> () (63346.0)

ファイルまたはディレクトリ list を再帰的に消去します。

...FileUtils#options

=== 注意

このメソッドにはローカル脆弱性が存在します。
この脆弱性を回避するには :secure オプションを使用してください。
詳しくは FileUtils.#remove_entry_secure の項を参照してください。

@see FileUtils.#rm, FileUtils...
....#rm_r, FileUtils.#remove_entry_secure...

FileUtils.#rmtree(list, options = {}) -> () (18046.0)

ファイルまたはディレクトリ list を再帰的に消去します。

...FileUtils#options

=== 注意

このメソッドにはローカル脆弱性が存在します。
この脆弱性を回避するには :secure オプションを使用してください。
詳しくは FileUtils.#remove_entry_secure の項を参照してください。

@see FileUtils.#rm, FileUtils...
....#rm_r, FileUtils.#remove_entry_secure...