⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
3.0.0
/
system
/
FileUtils
/
View File Name :
cdesc-FileUtils.ri
U:RDoc::NormalModule[iI"FileUtils:ET@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"1FileUtils.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"3FileUtils.chown(user, group, list, **options) ;TI"5FileUtils.chown_R(user, group, list, **options) ;TI"&FileUtils.touch(list, **options) ;T:@format0o; ;[I"#Possible
options
are:;T@o:RDoc::Markup::List: @type: NOTE:@items[ o:RDoc::Markup::ListItem:@label[I"
:force
;T;[o; ;[I"6forced operation (rewrite files if exist, remove ;TI"%directories if not empty, etc.);;To;;[I"
:verbose
;T;[o; ;[I"5print command to be run, in bash syntax, before ;TI"performing it;;To;;[I"
:preserve
;T;[o; ;[I"4preserve object's group, user and modification ;TI"time on copying;;To;;[I"
:noop
;T;[o; ;[I"5no changes are made (usable in combination with ;TI";
:verbose
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"mFileUtils.copy_entry(src, dest, preserve = false, dereference_root = false, remove_destination = 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"VERSION;TI"FileUtils::VERSION;T:public0o;;[ ;@;0@@cRDoc::NormalModule0[[I"StreamUtils_;To;;[ ;@;0I"lib/fileutils.rb;T[[I" class;T[[;[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@[:protected[ [:private[ [I" instance;T[[;[ [;[ [;[3[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@@[@ @[[I"StreamUtils_;To;;[ ;@;0@[U:RDoc::Context::Section[i 0o;;[ ;0;0[@I")lib/rubygems/ext/ext_conf_builder.rb;T@@cRDoc::TopLevel