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/cdesc-FileUtils.ri
U:RDoc::NormalModule[iI"FileUtils:ETI"Bundler::FileUtils;T0o:RDoc::Markup::Document:@parts[o;;['S:RDoc::Markup::Heading: leveli: textI"fileutils.rb;To:RDoc::Markup::BlankLine o:RDoc::Markup::Paragraph;[I"(Copyright (c) 2000-2007 Minero Aoki;T@o; ;[I"$This program is free software. ;TI"IYou can distribute/modify this program under the same terms of ruby.;T@S; ; i;I"module Bundler::FileUtils;T@o; ;[I"SNamespace for several file utility methods for copying, moving, removing, etc.;T@S; ; i;I"Module Functions;T@o:RDoc::Markup::Verbatim;[$I"6require 'bundler/vendor/fileutils/lib/fileutils' ;TI" ;TI"+Bundler::FileUtils.cd(dir, **options) ;TI":Bundler::FileUtils.cd(dir, **options) {|dir| block } ;TI"Bundler::FileUtils.pwd() ;TI".Bundler::FileUtils.mkdir(dir, **options) ;TI"/Bundler::FileUtils.mkdir(list, **options) ;TI"0Bundler::FileUtils.mkdir_p(dir, **options) ;TI"1Bundler::FileUtils.mkdir_p(list, **options) ;TI".Bundler::FileUtils.rmdir(dir, **options) ;TI"/Bundler::FileUtils.rmdir(list, **options) ;TI"4Bundler::FileUtils.ln(target, link, **options) ;TI"4Bundler::FileUtils.ln(targets, dir, **options) ;TI"6Bundler::FileUtils.ln_s(target, link, **options) ;TI"6Bundler::FileUtils.ln_s(targets, dir, **options) ;TI"7Bundler::FileUtils.ln_sf(target, link, **options) ;TI"1Bundler::FileUtils.cp(src, dest, **options) ;TI"1Bundler::FileUtils.cp(list, dir, **options) ;TI"3Bundler::FileUtils.cp_r(src, dest, **options) ;TI"3Bundler::FileUtils.cp_r(list, dir, **options) ;TI"1Bundler::FileUtils.mv(src, dest, **options) ;TI"1Bundler::FileUtils.mv(list, dir, **options) ;TI",Bundler::FileUtils.rm(list, **options) ;TI".Bundler::FileUtils.rm_r(list, **options) ;TI"/Bundler::FileUtils.rm_rf(list, **options) ;TI"6Bundler::FileUtils.install(src, dest, **options) ;TI"5Bundler::FileUtils.chmod(mode, list, **options) ;TI"7Bundler::FileUtils.chmod_R(mode, list, **options) ;TI"<Bundler::FileUtils.chown(user, group, list, **options) ;TI">Bundler::FileUtils.chown_R(user, group, list, **options) ;TI"/Bundler::FileUtils.touch(list, **options) ;T:@format0o; ;[I"#Possible <tt>options</tt> are:;T@o:RDoc::Markup::List: @type: NOTE:@items[ o:RDoc::Markup::ListItem:@label[I"<tt>:force</tt> ;T;[o; ;[I"6forced operation (rewrite files if exist, remove ;TI"%directories if not empty, etc.);;To;;[I"<tt>:verbose</tt> ;T;[o; ;[I"5print command to be run, in bash syntax, before ;TI"performing it;;To;;[I"<tt>:preserve</tt> ;T;[o; ;[I"4preserve object's group, user and modification ;TI"time on copying;;To;;[I"<tt>:noop</tt> ;T;[o; ;[I"5no changes are made (usable in combination with ;TI";<tt>:verbose</tt> which will print the command to run);T@o; ;[I"MEach method documents the options that it honours. See also ::commands, ;TI"O::options and ::options_of methods to introspect which command have which ;TI" options.;T@o; ;[I"PAll methods that have the concept of a "source" file or directory can take ;TI"Jeither one file or a list of files in that argument. See the method ;TI" documentation for examples.;T@o; ;[I"OThere are some `low level' methods, which do not accept keyword arguments:;T@o;;[I"vBundler::FileUtils.copy_entry(src, dest, preserve = false, dereference_root = false, remove_destination = false) ;TI"SBundler::FileUtils.copy_file(src, dest, preserve = false, dereference = true) ;TI";Bundler::FileUtils.copy_stream(srcstream, deststream) ;TI":Bundler::FileUtils.remove_entry(path, force = false) ;TI"ABundler::FileUtils.remove_entry_secure(path, force = false) ;TI"9Bundler::FileUtils.remove_file(path, force = false) ;TI"5Bundler::FileUtils.compare_file(path_a, path_b) ;TI";Bundler::FileUtils.compare_stream(stream_a, stream_b) ;TI"2Bundler::FileUtils.uptodate?(file, cmp_list) ;T;0S; ; i;I"'module Bundler::FileUtils::Verbose;T@o; ;[I"WThis module has all methods of Bundler::FileUtils module, but it outputs messages ;TI"Sbefore acting. This equates to passing the <tt>:verbose</tt> flag to methods ;TI"in Bundler::FileUtils.;T@S; ; i;I"'module Bundler::FileUtils::NoWrite;T@o; ;[I"QThis module has all methods of Bundler::FileUtils module, but never changes ;TI"Tfiles/directories. This equates to passing the <tt>:noop</tt> flag to methods ;TI"in Bundler::FileUtils.;T@S; ; i;I"&module Bundler::FileUtils::DryRun;T@o; ;[I"QThis module has all methods of Bundler::FileUtils module, but never changes ;TI"Hfiles/directories. This equates to passing the <tt>:noop</tt> and ;TI"><tt>:verbose</tt> flags to methods in Bundler::FileUtils.;T: @fileI"2lib/bundler/vendor/fileutils/lib/fileutils.rb;T:0@omit_headings_from_table_of_contents_below0;0;0[ [U:RDoc::Constant[i I"VERSION;TI" Bundler::FileUtils::VERSION;T:public0o;;[ ;@�;0@�@cRDoc::NormalModule0[[I"StreamUtils_;To;;[ ;@�;0I"2lib/bundler/vendor/fileutils/lib/fileutils.rb;T[[I" class;T[[;[ [:protected[ [:private[8[I"cd;T@�[I" chdir;T@�[I" chmod;T@�[I"chmod_R;T@�[I" chown;T@�[I"chown_R;T@�[I"cmp;T@�[I"collect_method;T@�[I" commands;T@�[I"compare_file;T@�[I"compare_stream;T@�[I" copy;T@�[I"copy_entry;T@�[I"copy_file;T@�[I"copy_stream;T@�[I"cp;T@�[I" cp_lr;T@�[I" cp_r;T@�[I" getwd;T@�[I"have_option?;T@�[I"identical?;T@�[I"install;T@�[I" link;T@�[I"link_entry;T@�[I"ln;T@�[I" ln_s;T@�[I" ln_sf;T@�[I" makedirs;T@�[I" mkdir;T@�[I"mkdir_p;T@�[I"mkpath;T@�[I" move;T@�[I"mv;T@�[I"options;T@�[I"options_of;T@�[I"pwd;T@�[I"remove;T@�[I"remove_dir;T@�[I"remove_entry;T@�[I"remove_entry_secure;T@�[I"remove_file;T@�[I"rm;T@�[I" rm_f;T@�[I" rm_r;T@�[I" rm_rf;T@�[I" rmdir;T@�[I"rmtree;T@�[I"safe_unlink;T@�[I"symlink;T@�[I" touch;T@�[I"uptodate?;T@�[I" instance;T[[;[ [;[ [;[3[@�@�[@�@�[@�@�[@�@�[@�@�[@�@�[@�@�[@�@�[@�@�[@�@�[@�@�[@�@�[@�@�[@�@�[@�@�[@�@�[@�@�[@�@�[@�@�[@�@�[@�@�[@�@�[@�@�[@�@�[@�@�[@�@�[@�@�[@�@�[@�@�[@�@�[@�@�[@�@�[@�@�[@�@�[@�@�[@�@�[@�@�[@�@�[@�@�[@�@�[@@�[@@�[@@�[@@�[@ @�[@@�[[I"StreamUtils_;To;;[ ;@�;0@�[U:RDoc::Context::Section[i 0o;;[ ;0;0[I"2lib/bundler/vendor/fileutils/lib/fileutils.rb;TI"Bundler;T@�