lib/zipping.rb
def subdir_entities(dir = @current_dir)
      Dir.glob(dir[:path].gsub(/[*?\\\[\]{}]/, '\\\\\0') + '/*').map!{|path| {path: path, time: File.mtime(path), name: File.basename(path)}}
    end
def subdir_entities(dir = @current_dir)
      Dir.glob(dir[:path].gsub(/[*?\\\[\]{}]/, '\\\\\0') + '/*').map!{|path| {path: path, time: File.mtime(path), name: File.basename(path)}}
    end
Conversions
 Get entities of files in dir