# File lib/listen/directory.rb, line 11 def scan _update_record _all_entries.each do |entry_path, data| case data[:type] when 'File' _async_change(entry_path, options.merge(type: 'File')) when 'Dir' if _recursive_scan?(entry_path) _async_change(entry_path, options.merge(type: 'Dir')) end end end end
Generated with the Darkfish Rdoc Generator 2.