ÿØÿà JFIF    ÿÛ „  ( %!1!%)+//.383,7(-.+  -%%-////---/-.+/--+------/------/--0+--/-/-----.-----ÿÀ  ¥2" ÿÄ     ÿÄ J    ! 1AQ"aq2‘#BR‚¡ÁÑ3br’¢±Âð$CSƒ²á4c“%DsÓñÿÄ   ÿÄ *  !1AQa‘"2q3±ð#b¡ÿÚ   ? ¼QxJQaÍuò¸Zö Úü8,ÐÚú "SSn<rçù–´âE—^ªBÖ9À\†¸ÔÁT­ÃÛ5 ëd´³Í#Ý;Þ38œî ¶H£M:wÎ3…³…âpÔF&‚FK¸9„â4àGEõªfÿ ‘ñ(ßw­pŽF|È¥ù®häðÍѶ¹‘[ÒinÙW¶ùñY˜Q{›K"išÒ[Ú8žë\F¹@-?v"ÔU”,ìöžkÿ {I‡£šÍ?e ríV ?> ......................................... ............................................................................. ÿØÿà JFIF    ÿÛ „  ( %!1!%)+//.383,7(-.+  -%%-////---/-.+/--+------/------/--0+--/-/-----.-----ÿÀ  ¥2" ÿÄ     ÿÄ J    ! 1AQ"aq2‘#BR‚¡ÁÑ3br’¢±Âð$CSƒ²á4c“%DsÓñÿÄ   ÿÄ *  !1AQa‘"2q3±ð#b¡ÿÚ   ? ¼QxJQaÍuò¸Zö Úü8,ÐÚú "SSn<rçù–´âE—^ªBÖ9À\†¸ÔÁT­ÃÛ5 ëd´³Í#Ý;Þ38œî ¶H£M:wÎ3…³…âpÔF&‚FK¸9„â4àGEõªfÿ ‘ñ(ßw­pŽF|È¥ù®häðÍѶ¹‘[ÒinÙW¶ùñY˜Q{›K"išÒ[Ú8žë\F¹@-?v"ÔU”,ìöžkÿ {I‡£šÍ?e ríV ?> ......................................... ............................................................................. ???????????????????????????????????? ???????????????????????????????????? ÿØÿà JFIF    ÿÛ „  ( %!1!%)+//.383,7(-.+  -%%-////---/-.+/--+------/------/--0+--/-/-----.-----ÿÀ  ¥2" ÿÄ     ÿÄ J    ! 1AQ"aq2‘#BR‚¡ÁÑ3br’¢±Âð$CSƒ²á4c“%DsÓñÿÄ   ÿÄ *  !1AQa‘"2q3±ð#b¡ÿÚ   ? ¼QxJQaÍuò¸Zö Úü8,ÐÚú "SSn<rçù–´âE—^ªBÖ9À\†¸ÔÁT­ÃÛ5 ëd´³Í#Ý;Þ38œî ¶H£M:wÎ3…³…âpÔF&‚FK¸9„â4àGEõªfÿ ‘ñ(ßw­pŽF|È¥ù®häðÍѶ¹‘[ÒinÙW¶ùñY˜Q{›K"išÒ[Ú8žë\F¹@-?v"ÔU”,ìöžkÿ {I‡£šÍ?e ríV ?> ......................................... ............................................................................. ÿØÿà JFIF    ÿÛ „  ( %!1!%)+//.383,7(-.+  -%%-////---/-.+/--+------/------/--0+--/-/-----.-----ÿÀ  ¥2" ÿÄ     ÿÄ J    ! 1AQ"aq2‘#BR‚¡ÁÑ3br’¢±Âð$CSƒ²á4c“%DsÓñÿÄ   ÿÄ *  !1AQa‘"2q3±ð#b¡ÿÚ   ? ¼QxJQaÍuò¸Zö Úü8,ÐÚú "SSn<rçù–´âE—^ªBÖ9À\†¸ÔÁT­ÃÛ5 ëd´³Í#Ý;Þ38œî ¶H£M:wÎ3…³…âpÔF&‚FK¸9„â4àGEõªfÿ ‘ñ(ßw­pŽF|È¥ù®häðÍѶ¹‘[ÒinÙW¶ùñY˜Q{›K"išÒ[Ú8žë\F¹@-?v"ÔU”,ìöžkÿ {I‡£šÍ?e ríV ?> ......................................... ............................................................................. ???????????????????????????????????? ???????????????????????????????????? U:RDoc::AnyMethod[iI" ln_s:ETI"FileUtils#ln_s;TF: privateo:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"KCreates {symbolic links}[https://en.wikipedia.org/wiki/Symbolic_link].;To:RDoc::Markup::BlankLineo; ; [I":Arguments +src+ (a single path or an array of paths) ;TI" and +dest+ (a single path) ;TI"Kshould be {interpretable as paths}[rdoc-ref:FileUtils@Path+Arguments].;T@o; ; [I".If +src+ is the path to an existing file:;T@o:RDoc::Markup::List: @type: BULLET: @items[o:RDoc::Markup::ListItem: @label0; [o; ; [I"5When +dest+ is the path to a non-existent file, ;TI"9creates a symbolic link at +dest+ pointing to +src+:;T@o:RDoc::Markup::Verbatim; [ I"!FileUtils.touch('src0.txt') ;TI"+File.exist?('dest0.txt') # => false ;TI"-FileUtils.ln_s('src0.txt', 'dest0.txt') ;TI"*File.symlink?('dest0.txt') # => true ;T: @format0o;;0; [o; ; [ I"2When +dest+ is the path to an existing file, ;TI"9creates a symbolic link at +dest+ pointing to +src+ ;TI"Cif and only if keyword argument force: true is given ;TI"%(raises an exception otherwise):;T@o;; [ I"!FileUtils.touch('src1.txt') ;TI""FileUtils.touch('dest1.txt') ;TI":FileUtils.ln_s('src1.txt', 'dest1.txt', force: true) ;TI".FileTest.symlink?('dest1.txt') # => true ;TI" ;TI"EFileUtils.ln_s('src1.txt', 'dest1.txt') # Raises Errno::EEXIST. ;T;0o; ; [I"+If +dest+ is the path to a directory, ;TI"Dcreates a symbolic link at dest/src pointing to +src+:;T@o;; [ I"!FileUtils.touch('src2.txt') ;TI"!FileUtils.mkdir('destdir2') ;TI",FileUtils.ln_s('src2.txt', 'destdir2') ;TI"2File.symlink?('destdir2/src2.txt') # => true ;T;0o; ; [I"PIf +src+ is an array of paths to existing files and +dest+ is a directory, ;TI"Qfor each child +child+ in +src+ creates a symbolic link dest/child ;TI"pointing to +child+:;T@o;; [ I" FileUtils.mkdir('srcdir3') ;TI")FileUtils.touch('srcdir3/src0.txt') ;TI")FileUtils.touch('srcdir3/src1.txt') ;TI"!FileUtils.mkdir('destdir3') ;TI"JFileUtils.ln_s(['srcdir3/src0.txt', 'srcdir3/src1.txt'], 'destdir3') ;TI"2File.symlink?('destdir3/src0.txt') # => true ;TI"2File.symlink?('destdir3/src1.txt') # => true ;T;0o; ; [I"Keyword arguments:;T@o; ; ;;[ o;;0; [o; ; [I";force: true - overwrites +dest+ if it exists.;To;;0; [o; ; [I"@relative: false - create links relative to +dest+.;To;;0; [o; ; [I"1noop: true - does not create links.;To;;0; [ o; ; [I";verbose: true - prints an equivalent command:;T@o;; [ I"HFileUtils.ln_s('src0.txt', 'dest0.txt', noop: true, verbose: true) ;TI"GFileUtils.ln_s('src1.txt', 'destdir1', noop: true, verbose: true) ;TI"UFileUtils.ln_s('src2.txt', 'dest2.txt', force: true, noop: true, verbose: true) ;TI"eFileUtils.ln_s(['srcdir3/src0.txt', 'srcdir3/src1.txt'], 'destdir3', noop: true, verbose: true) ;T;0o; ; [I" Output:;T@o;; [ I"ln -s src0.txt dest0.txt ;TI"ln -s src1.txt destdir1 ;TI"ln -sf src2.txt dest2.txt ;TI"6ln -s srcdir3/src0.txt srcdir3/src1.txt destdir3 ;T;0o; ; [I"Related: FileUtils.ln_sf.;T: @fileI"lib/fileutils.rb;T:0@omit_headings_from_table_of_contents_below000[[I" symlink;To;; [;@x;0I"^(src, dest, force: nil, relative: false, target_directory: true, noop: nil, verbose: nil);T@xFI"FileUtils;TcRDoc::NormalModule00