Module: FileUtils::NoWrite
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Instance Chain:
|
|
Defined in: | lib/fileutils.rb |
Overview
This module has all methods of ::FileUtils module, but never changes files/directories. This equates to passing the :noop
flag to methods in ::FileUtils.
Constant Summary
::FileUtils - Included
Instance Attribute Summary
StreamUtils_ - Included
Instance Method Summary
::FileUtils - Included
#apply_mask, #remove_trailing_slash, | |
#cd | Options: verbose. |
#chdir | Alias for #cd. |
#chmod | Options: noop verbose. |
#chmod_R | Options: noop verbose force. |
#chown | Options: noop verbose. |
#chown_R | Options: noop verbose force. |
#cmp | Alias for #compare_file. |
#compare_file | Returns true if the contents of a file A and a file B are identical. |
#compare_stream | Returns true if the contents of a stream |
#copy | Alias for #cp. |
#copy_entry | Copies a file system entry |
#copy_file | Copies file contents of |
#copy_stream | Copies stream |
#cp | Options: preserve noop verbose. |
#cp_r | Options: preserve noop verbose dereference_root remove_destination. |
#getwd | Alias for #pwd. |
#identical? | Alias for #compare_file. |
#install | Options: mode preserve noop verbose. |
#link | Alias for #ln. |
#ln | Options: force noop verbose. |
#ln_s | Options: force noop verbose. |
#ln_sf | Options: noop verbose. |
#makedirs | Alias for #mkdir_p. |
#mkdir | Options: mode noop verbose. |
#mkdir_p | Options: mode noop verbose. |
#mkpath | Alias for #mkdir_p. |
#move | Alias for #mv. |
#mv | Options: force noop verbose. |
#pwd | Options: (none). |
#remove | Alias for #rm. |
#remove_dir | Removes a directory |
#remove_entry | This method removes a file system entry |
#remove_entry_secure | This method removes a file system entry |
#remove_file | Removes a file |
#rm | Options: force noop verbose. |
#rm_f | Options: noop verbose. |
#rm_r | Options: force noop verbose secure. |
#rm_rf | Options: noop verbose secure. |
#rmdir | Options: parents, noop, verbose. |
#rmtree | Alias for #rm_rf. |
#safe_unlink | Alias for #rm_f. |
#symlink | Alias for #ln_s. |
#touch | Options: noop verbose mtime nocreate. |
#uptodate? | Options: (none). |