Module: FileUtils::DryRun
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, with printing message before acting. This equates to passing the :noop
and :verbose
flag to methods in ::FileUtils
.
Constant Summary
::FileUtils
- Included
Instance Attribute Summary
::FileUtils
- Included
Instance Method Summary
LowMethods
- Included
::FileUtils
- Included
#fu_clean_components, #fu_split_path, | |
#fu_starting_path? | See additional method definition at line 2558. |
#cd | Changes the working directory to the given |
#chdir | Alias for #cd. |
#chmod | Changes permissions on the entries at the paths given in |
#chmod_R | Like chmod, but changes permissions recursively. |
#chown | Changes the owner and group on the entries at the paths given in |
#chown_R | Like chown, but changes owner and group recursively. |
#cmp | Alias for #compare_file. |
#compare_file | Returns |
#compare_stream | Returns |
#copy | Alias for #cp. |
#copy_entry | Recursively copies files from |
#copy_file | Copies file from |
#copy_stream | Copies IO stream |
#cp | Copies files. |
#cp_lr | Creates hard links. |
#cp_r | Recursively copies files. |
#getwd | Alias for #pwd. |
#identical? | Alias for #compare_file. |
#install | Copies a file entry. |
#link | Alias for #ln. |
#link_entry | Creates hard links; returns |
#ln | Creates hard links. |
#ln_s | Creates symbolic links. |
#ln_sf | Like ln_s, but always with keyword argument |
#ln_sr | Like ln_s, but create links relative to |
#makedirs | Alias for #mkdir_p. |
#mkdir | Creates directories at the paths in the given |
#mkdir_p | Creates directories at the paths in the given |
#mkpath | Alias for #mkdir_p. |
#move | Alias for #mv. |
#mv | Moves entries. |
#pwd | Returns a string containing the path to the current directory: |
#remove | Alias for #rm. |
#remove_dir | Recursively removes the directory entry given by |
#remove_entry | Removes the entry given by |
#remove_entry_secure | Securely removes the entry given by |
#remove_file | Removes the file entry given by |
#rm | Removes entries at the paths in the given |
#rm_f | Equivalent to: |
#rm_r | Removes entries at the paths in the given |
#rm_rf | Equivalent to: |
#rmdir | Removes directories at the paths in the given |
#rmtree | Alias for #rm_rf. |
#safe_unlink | Alias for #rm_f. |
#symlink | Alias for #ln_s. |
#touch | Updates modification times (mtime) and access times (atime) of the entries given by the paths in |
#uptodate? | Returns |
#apply_mask, #fu_each_src_dest, #fu_each_src_dest0, #fu_get_gid, #fu_get_uid, | |
#fu_list | class |
#fu_mkdir, #fu_mode, #fu_output_message, #fu_relative_components_from, #fu_same?, #fu_stat_identical_entry?, #mode_to_s, #remove_trailing_slash, #symbolic_modes_to_i, #user_mask |