anchor.diff:    }
   
     /**
  +   * TODO(scheglov) see [_addToStoreUnlinked]
  +   */
  +  void _addToStoreLinked(
  +      SummaryDataStore store, String uri, LinkedLibrary linked) {
  +    store.linkedMap[uri] = linked;
  +  }
  +
  +  /**
  +   * TODO(scheglov) The existing [SummaryDataStore.addBundle] uses
  +   * [PackageBundle.unlinkedUnitUris] to add [PackageBundle.unlinkedUnits].
  +   * But we store unlinked bundles with the hash of the file content. This
  +   * means that when two files are the same, but have different URIs, we
  +   * add [UnlinkedUnit] with wrong URI.
  +   *
  +   * We need to clean this up.
  +   */
  +  void _addToStoreUnlinked(
  +      SummaryDataStore store, String uri, UnlinkedUnit unlinked) {
  +    store.unlinkedMap[uri] = unlinked;
  +  }
  +
  +  /**
      * TODO(scheglov) replace with actual [AnalysisResult] computing.
      */
     List<String> _computeAndPrintErrors(_File file) {
  
positive.code:    *
     * If the [_content] field is still `null`, get the content from the
     * content cache or from the [source]. If the content cannot be accessed
     * because of an exception, it considers to be an empty string.
     *
     * When a new content is read, the new [_contentHash] should be computed and
     * the current file state should be updated.
  
negative.code:           bytes = assembler.assemble().toBuffer();
          }
          PackageBundle linked = new PackageBundle.fromBuffer(bytes);
          _addToStoreLinked(store, uri, linked.linkedLibraries.single);
          _byteStore.put(key, bytes);
        });
  
  