# File lib_core/rucy/document.rb, line 607
    def scan(mount_map)
      for path, node in mount_map
        document = node[:document]
        if (document) then
          yield(document, path, nil)
        end
        for mask, document2 in node[:mask_list]
          yield(document2, path, mask)
        end
      end

      nil
    end