⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.93
Server IP:
65.108.141.171
Server:
Linux server.heloix.com 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
2.7.0
/
system
/
Find
/
Edit File: cdesc-Find.ri
U:RDoc::NormalModule[iI" Find:ET@0o:RDoc::Markup::Document:@parts[o;;[ o:RDoc::Markup::Paragraph;[I"NThe +Find+ module supports the top-down traversal of a set of file paths.;To:RDoc::Markup::BlankLine o; ;[I"LFor example, to total the size of all files under your home directory, ;TI">ignoring anything in a "dot" directory (e.g. $HOME/.ssh):;T@o:RDoc::Markup::Verbatim;[I"require 'find' ;TI" ;TI"total_size = 0 ;TI" ;TI"&Find.find(ENV["HOME"]) do |path| ;TI"$ if FileTest.directory?(path) ;TI"1 if File.basename(path).start_with?('.') ;TI"J Find.prune # Don't look any further into this directory. ;TI" else ;TI" next ;TI" end ;TI" else ;TI"+ total_size += FileTest.size(path) ;TI" end ;TI"end;T:@format0: @fileI"lib/find.rb;T:0@omit_headings_from_table_of_contents_below0; 0;0[ [ [ [[I" class;T[[:public[[I" find;TI"lib/find.rb;T[I" prune;T@1[:protected[ [:private[ [I" instance;T[[;[ [;[ [;[[@0@1[@3@1[ [U:RDoc::Context::Section[i 0o;;[ ; 0;0[@%@%cRDoc::TopLevel
Simpan