public void addTarArchiveEntry(TarArchiveEntry entry) {
    archiveMap.put(
        entry, entry.isFile() ? Blobs.from(entry.getPath()) : Blobs.from(ignored -> {}, true));
  }
Adds a {@link TarArchiveEntry} to the archive.

@param entry the {@link TarArchiveEntry}
jib-core/src/main/java/com/google/cloud/tools/jib/tar/TarStreamBuilder.java