Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
proc
/
thread-self
/
root
/
proc
/
self
/
root
/
opt
/
ruby-2.6
/
usr
/
share
/
ri
/
2.6.0
/
system
/
FileUtils
/
//proc/thread-self/root/proc/self/root/opt/ruby-2.6/usr/share/ri/2.6.0/system/FileUtils/cp_lr-c.ri
U:RDoc::AnyMethod[iI" cp_lr:ETI"FileUtils::cp_lr;TT:publico: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:RDoc::Markup::Verbatim; [I"E# Installing the library "mylib" under the site_ruby directory. ;TI"9FileUtils.rm_r site_ruby + '/mylib', :force => true ;TI"2FileUtils.cp_lr 'lib/', site_ruby + '/mylib' ;TI" ;TI"># Examples of linking several files to target directory. ;TI"GFileUtils.cp_lr %w(mail.rb field.rb debug/), site_ruby + '/tmail' ;TI"`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"^FileUtils.cp_lr 'src/.', 'dest' # cp_lr('src', 'dest') makes dest/src, but this doesn't.;T:@format0: @fileI"lib/fileutils.rb;T:0@omit_headings_from_table_of_contents_below0I"lFileUtils.cp_lr(src, dest, noop: nil, verbose: nil, dereference_root: true, remove_destination: false) ;T0[ I"\(src, dest, noop: nil, verbose: nil, dereference_root: true, remove_destination: false);T@"FI"FileUtils;TcRDoc::NormalModule00