U:RDoc::NormalModule[iI"FileUtils:EF@0o: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 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"require 'fileutils'
;TI"
;TI" FileUtils.cd(dir, options)
;TI"/FileUtils.cd(dir, options) {|dir| block }
;TI"FileUtils.pwd()
;TI"#FileUtils.mkdir(dir, options)
;TI"$FileUtils.mkdir(list, options)
;TI"%FileUtils.mkdir_p(dir, options)
;TI"&FileUtils.mkdir_p(list, options)
;TI"#FileUtils.rmdir(dir, options)
;TI"$FileUtils.rmdir(list, options)
;TI")FileUtils.ln(target, link, options)
;TI")FileUtils.ln(targets, dir, options)
;TI"+FileUtils.ln_s(target, link, options)
;TI"+FileUtils.ln_s(targets, dir, options)
;TI",FileUtils.ln_sf(target, link, options)
;TI"&FileUtils.cp(src, dest, options)
;TI"&FileUtils.cp(list, dir, options)
;TI"(FileUtils.cp_r(src, dest, options)
;TI"(FileUtils.cp_r(list, dir, options)
;TI"&FileUtils.mv(src, dest, options)
;TI"&FileUtils.mv(list, dir, options)
;TI"!FileUtils.rm(list, options)
;TI"#FileUtils.rm_r(list, options)
;TI"$FileUtils.rm_rf(list, options)
;TI"+FileUtils.install(src, dest, options)
;TI"*FileUtils.chmod(mode, list, options)
;TI",FileUtils.chmod_R(mode, list, options)
;TI"1FileUtils.chown(user, group, list, options)
;TI"3FileUtils.chown_R(user, group, list, options)
;TI"$FileUtils.touch(list, options)
;T:@format0o;
;[ I"NThe options parameter is a hash of options, taken from the list ;TI"Q:force, :noop, :preserve, and :verbose. ;TI"R:noop means that no changes are made. The other three are obvious. ;TI"7Each method documents the options that it honours.;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"HThere are some `low level' methods, which do not accept any option:;T@o;;[I"LFileUtils.copy_entry(src, dest, preserve = false, dereference = false)
;TI"JFileUtils.copy_file(src, dest, preserve = false, dereference = true)
;TI"2FileUtils.copy_stream(srcstream, deststream)
;TI"1FileUtils.remove_entry(path, force = false)
;TI"8FileUtils.remove_entry_secure(path, force = false)
;TI"0FileUtils.remove_file(path, force = false)
;TI",FileUtils.compare_file(path_a, path_b)
;TI"2FileUtils.compare_stream(stream_a, stream_b)
;TI")FileUtils.uptodate?(file, cmp_list)
;T;0S; ;
i;I"module FileUtils::Verbose;T@o;
;[I"NThis module has all methods of FileUtils module, but it outputs messages ;TI"Sbefore acting. This equates to passing the :verbose flag to methods ;TI"in FileUtils.;T@S; ;
i;I"module FileUtils::NoWrite;T@o;
;[I"HThis module has all methods of FileUtils module, but never changes ;TI"Tfiles/directories. This equates to passing the :noop flag to methods ;TI"in FileUtils.;T@S; ;
i;I"module FileUtils::DryRun;T@o;
;[I"HThis module has all methods of FileUtils module, but never changes ;TI"Hfiles/directories. This equates to passing the :noop and ;TI"5:verbose flags to methods in FileUtils.;T:
@fileI"lib/fileutils.rb;T:0@omit_headings_from_table_of_contents_below0o;;[ ;I"lib/un.rb;T;0;0;0[ [U:RDoc::Constant[i I"LOW_METHODS;FI"FileUtils::LOW_METHODS;T00o;;[ ;@l;0@l@cRDoc::NormalModule0U;[i I"METHODS;FI"FileUtils::METHODS;T00o;;[ ;@l;0@l@@x0[[I"StreamUtils_;To;;[ ;@l;0I"lib/fileutils.rb;T[[I"
class;T[[:public[1[I"cd;F@[I"
chdir;F@[I"
chmod;F@[I"chmod_R;F@[I"
chown;F@[I"chown_R;F@[I"cmp;F@[I"compare_file;F@[I"compare_stream;F@[I" copy;F@[I"copy_entry;F@[I"copy_file;F@[I"copy_stream;F@[I"cp;F@[I" cp_r;F@[I"
getwd;F@[I"identical?;F@[I"install;F@[I" link;F@[I"ln;F@[I" ln_s;F@[I"
ln_sf;F@[I"
makedirs;F@[I"
mkdir;F@[I"mkdir_p;F@[I"mkpath;F@[I" move;F@[I"mv;F@[I"pwd;F@[I"remove;F@[I"remove_dir;F@[I"remove_entry;F@[I"remove_entry_secure;F@[I"remove_file;F@[I"rm;F@[I" rm_f;F@[I" rm_r;F@[I"
rm_rf;F@[I"
rmdir;F@[I"rmtree;F@[I"safe_unlink;F@[I"symlink;F@[I"
touch;F@[I"uptodate?;F@[:protected[ [:private[
[I"collect_method;F@[I"
commands;F@[I"have_option?;F@[I"options;F@[I"options_of;F@[I"
instance;T[[;[ [;[ [;[1[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[[I"StreamUtils_;To;;[ ;@l;0@[U:RDoc::Context::Section[i 0o;;[ ;0;0[@l@o@ocRDoc::TopLevel