123456789_123456789_123456789_123456789_123456789_

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

LOW_METHODS, METHODS, OPT_TABLE, VERSION

Instance Attribute Summary

Instance Method Summary

LowMethods - Included

::FileUtils - Included

#cd

Changes the current directory to the directory dir.

#chdir

Alias for #cd.

#chmod

Changes permission bits on the named files (in list) to the bit pattern represented by mode.

#chmod_R

Changes permission bits on the named files (in list) to the bit pattern represented by mode.

#chown

Changes owner and group on the named files (in list) to the user user and the group group.

#chown_R

Changes owner and group on the named files (in list) to the user user and the group group recursively.

#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 a and b are identical.

#copy

Alias for #cp.

#copy_entry

Copies a file system entry src to dest.

#copy_file

Copies file contents of src to dest.

#copy_stream

Copies stream src to dest.

#cp

Copies a file content src to dest.

#cp_lr

Hard link src to dest.

#cp_r

Copies src to dest.

#getwd

Alias for #pwd.

#identical?

Alias for #compare_file.

#install

If src is not same as dest, copies it and changes the permission mode to mode.

#link

Alias for #ln.

#link_entry

Hard links a file system entry src to dest.

#ln

In the first form, creates a hard link link which points to target.

#ln_s

In the first form, creates a symbolic link link which points to target.

#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) src to dest.

#pwd

Returns the name of the current directory.

#remove

Alias for #rm.

#remove_dir

Removes a directory dir and its contents recursively.

#remove_entry

This method removes a file system entry path.

#remove_entry_secure

This method removes a file system entry path.

#remove_file

Removes a file path.

#rm

Remove file(s) specified in list.

#rm_f

Equivalent to.

#rm_r

remove files list list

#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 list.

#uptodate?

Returns true if new is newer than all old_list.

#apply_mask, #fu_each_src_dest, #fu_each_src_dest0, #fu_get_gid, #fu_get_uid,
#fu_list

class Entry_.

#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

StreamUtils_ - Included