░▒▓████████████████████████████████▓▒░ ░▒▓█ ▓▒░ ░▒▓█ ~ S W A M P ~ ▓▒░ ░▒▓█ ▓▒░ ░▒▓████████████████████████████████▓▒░
pplmvsvm
LOCATION:
/var/www/canvas/vendor/bundle/ruby/3.1.0/gems/globby-0.1.2/lib/globby
☗ ROOT
↻ REFRESH
✎ CARVE FLESH
EDITING: globject.rb
module Globby class GlObject attr_reader :files, :dirs def initialize(files = Set.new, dirs = Set.new) @files = files @dirs = dirs end def self.all files, dirs = Dir.glob('**/*', File::FNM_DOTMATCH). reject { |f| f =~ /(\A|\/)\.\.?\z/ }. partition { |f| File.file?(f) || File.symlink?(f) } dirs.map!{ |d| d + "/" } new(files, dirs) end end end
CANCEL
Name
Type
Size
Modified
Actions
↩ ..
DIR
—
—
📄 glob.rb
RB
2.2 KB
2023-09-24 03:47
EDIT
📄 globject.rb
RB
416 B
2023-09-24 03:47
EDIT
📄 result.rb
RB
346 B
2023-09-24 03:47
EDIT