    # File lib/yard/registry_store.rb, line 189
        def load_yardoc
          return false unless @file
          if File.directory?(@file) # new format
            @loaded_objects = 0
            @available_objects = all_disk_objects.size
            load_proxy_types
            load_checksums
            load_root
            true
          elsif File.file?(@file) # old format
            load_yardoc_old
            true
          else
            false
          end
        end