PATH:
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
FileUtils
--- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: copy block_params: comment: - !ruby/struct:SM::Flow::P body: "Options: preserve noop verbose" - !ruby/struct:SM::Flow::P body: Copies a file content <tt>src</tt> to <tt>dest</tt>. If <tt>dest</tt> is a directory, copies <tt>src</tt> to +dest/src+. - !ruby/struct:SM::Flow::P body: If <tt>src</tt> is a list of files, then <tt>dest</tt> must be a directory. - !ruby/struct:SM::Flow::VERB body: " FileUtils.cp 'eval.c', 'eval.c.org'\n FileUtils.cp %w(cgi.rb complex.rb date.rb), '/usr/lib/ruby/1.6'\n FileUtils.cp %w(cgi.rb complex.rb date.rb), '/usr/lib/ruby/1.6', :verbose => true\n FileUtils.cp 'symlink', 'dest' # copy content, "dest" is not a symlink\n" full_name: FileUtils#cp is_singleton: false name: cp params: (src, dest, options = {}) visibility: public
[+]
NoWrite
[-] collect_method-c.yaml
[edit]
[-] rm_rf-i.yaml
[edit]
[-] cp_r-i.yaml
[edit]
[-] remove_dir-i.yaml
[edit]
[-] cd-i.yaml
[edit]
[-] ln_s-i.yaml
[edit]
[-] getwd-i.yaml
[edit]
[-] link-i.yaml
[edit]
[-] chown_R-i.yaml
[edit]
[-] fu_world_writable%3f-i.yaml
[edit]
[-] options-c.yaml
[edit]
[-] remove-i.yaml
[edit]
[-] chown-i.yaml
[edit]
[-] identical%3f-i.yaml
[edit]
[-] cp-i.yaml
[edit]
[-] makedirs-i.yaml
[edit]
[-] rm_r-i.yaml
[edit]
[+]
StreamUtils_
[-] fu_have_symlink%3f-i.yaml
[edit]
[-] copy_file-i.yaml
[edit]
[+]
Verbose
[-] move-i.yaml
[edit]
[-] rmdir-i.yaml
[edit]
[-] uptodate%3f-i.yaml
[edit]
[-] rm-i.yaml
[edit]
[-] remove_file-i.yaml
[edit]
[-] safe_unlink-i.yaml
[edit]
[-] touch-i.yaml
[edit]
[+]
Entry_
[-] rmtree-i.yaml
[edit]
[-] copy_stream-i.yaml
[edit]
[-] commands-c.yaml
[edit]
[-] cmp-i.yaml
[edit]
[-] ln_sf-i.yaml
[edit]
[-] mv-i.yaml
[edit]
[-] mkpath-i.yaml
[edit]
[-] chdir-i.yaml
[edit]
[-] remove_entry_secure-i.yaml
[edit]
[-] ln-i.yaml
[edit]
[-] compare_file-i.yaml
[edit]
[-] remove_entry-i.yaml
[edit]
[+]
DryRun
[-] install-i.yaml
[edit]
[-] have_option%3f-c.yaml
[edit]
[-] pwd-i.yaml
[edit]
[-] symlink-i.yaml
[edit]
[-] rm_f-i.yaml
[edit]
[-] chmod_R-i.yaml
[edit]
[-] cdesc-FileUtils.yaml
[edit]
[-] mkdir-i.yaml
[edit]
[+]
..
[-] copy-i.yaml
[edit]
[-] compare_stream-i.yaml
[edit]
[-] mkdir_p-i.yaml
[edit]
[-] copy_entry-i.yaml
[edit]
[-] options_of-c.yaml
[edit]
[-] chmod-i.yaml
[edit]