REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 938 B
Close
/proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/Find/cdesc-Find.yaml
Text
Base64
--- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: The <tt>Find</tt> module supports the top-down traversal of a set of file paths. - !ruby/struct:SM::Flow::P body: "For example, to total the size of all files under your home directory, ignoring anything in a "dot" directory (e.g. $HOME/.ssh):" - !ruby/struct:SM::Flow::VERB body: " require 'find'\n\n total_size = 0\n\n Find.find(ENV["HOME"]) do |path|\n if FileTest.directory?(path)\n if File.basename(path)[0] == ?.\n Find.prune # Don't look any further into this directory.\n else\n next\n end\n else\n total_size += FileTest.size(path)\n end\n end\n" constants: [] full_name: Find includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: find - !ruby/object:RI::MethodSummary name: prune name: Find superclass:
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 3
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
cdesc-Find.yaml
938 B
lrw-r--r--
2023-07-26 13:47:53
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
find-i.yaml
457 B
lrw-r--r--
2023-07-26 13:47:53
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
prune-i.yaml
516 B
lrw-r--r--
2023-07-26 13:47:53
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).