Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby27
/
share
/
ri
/
system
/
Bundler
/
FileUtils
/
//opt/alt/ruby27/share/ri/system/Bundler/FileUtils/cp_lr-i.ri
U:RDoc::AnyMethod[iI" cp_lr:ETI"Bundler::FileUtils#cp_lr;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"KHard link +src+ to +dest+. If +src+ is a directory, this method links ;TI"Call its contents recursively. If +dest+ is a directory, links ;TI"+src+ to +dest/src+.;To:RDoc::Markup::BlankLine o; ; [I""+src+ can be a list of files.;T@o; ; [I"FIf +dereference_root+ is true, this method dereference tree root.;T@o; ; [I"\If +remove_destination+ is true, this method removes each destination file before copy.;T@o:RDoc::Markup::Verbatim; [I"?Bundler::FileUtils.rm_r site_ruby + '/mylib', force: true ;TI";Bundler::FileUtils.cp_lr 'lib/', site_ruby + '/mylib' ;TI" ;TI"># Examples of linking several files to target directory. ;TI"PBundler::FileUtils.cp_lr %w(mail.rb field.rb debug/), site_ruby + '/tmail' ;TI"cBundler::FileUtils.cp_lr Dir.glob('*.rb'), '/home/aamine/lib/ruby', noop: true, verbose: true ;TI" ;TI"F# If you want to link all contents of a directory instead of the ;TI"@# directory itself, c.f. src/x -> dest/x, src/y -> dest/y, ;TI"# use the following code. ;TI"gBundler::FileUtils.cp_lr 'src/.', 'dest' # cp_lr('src', 'dest') makes dest/src, but this doesn't.;T:@format0: @fileI"2lib/bundler/vendor/fileutils/lib/fileutils.rb;T:0@omit_headings_from_table_of_contents_below000[ I"\(src, dest, noop: nil, verbose: nil, dereference_root: true, remove_destination: false);T@'FI"FileUtils;TcRDoc::NormalModule00