    # File lib/yard/registry_store.rb, line 225
        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
            load_object_types
            true
          elsif File.file?(@file) # old format
            load_yardoc_old
            true
          else
            false
          end
        end