--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: entry
comment: 
- !ruby/struct:SM::Flow::P 
  body: Works as ::Dir.glob, matching (possibly recursively) all directory entries under <tt>path</tt> against <tt>pattern</tt>. If a block is given, matches will be yielded to the block as they are found; otherwise, they will be returned in an array when the method finishes.
- !ruby/struct:SM::Flow::P 
  body: Because working over an SFTP connection is always going to be slower than working purely locally, don't expect this method to perform with the same level of alacrity that ::Dir.glob does; it will work best for shallow directory hierarchies with relatively few directories, though it should be able to handle modest numbers of files in each directory.
full_name: Net::SFTP::Operations::Dir#glob
is_singleton: false
name: glob
params: (path, pattern, flags=0) {|entry| ...}
visibility: public
