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
| #cd | Changes the current directory to the directory |
| #chdir | Alias for #cd. |
| #chmod | Changes permission bits on the named files (in |
| #chmod_R | Changes permission bits on the named files (in |
| #chown | Changes owner and group on the named files (in |
| #chown_R | Changes owner and group on the named files (in |
| #cmp | Alias for #compare_file. |
| #compare_file | Returns true if the contents of a file |
| #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 | Copies a file content |
| #cp_lr | Hard link |
| #cp_r | Copies |
| #getwd | Alias for #pwd. |
| #identical? | Alias for #compare_file. |
| #install | If |
| #link | Alias for #ln. |
| #link_entry | Hard links a file system entry |
| #ln | In the first form, creates a hard link link which points to |
| #ln_s | In the first form, creates a symbolic link link which points to |
| #ln_sf | Same as. |
| #makedirs | Alias for #mkdir_p. |
| #mkdir | Creates one or more directories. |
| #mkdir_p | Creates a directory and all its parent directories. |
| #mkpath | Alias for #mkdir_p. |
| #move | Alias for #mv. |
| #mv | Moves file(s) |
| #pwd | Returns the name of the current directory. |
| #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 | Remove file(s) specified in |
| #rm_f | Equivalent to. |
| #rm_r | |
| #rm_rf | Equivalent to. |
| #rmdir | Removes one or more directories. |
| #rmtree | Alias for #rm_rf. |
| #safe_unlink | Alias for #rm_f. |
| #symlink | Alias for #ln_s. |
| #touch | Updates modification time (mtime) and access time (atime) of file(s) in |
| #uptodate? | Returns true if |
| #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_same?, #fu_stat_identical_entry?, #mode_to_s, #remove_trailing_slash, #symbolic_modes_to_i, #user_mask | |