コード例 #1
0
ファイル: TarStreamBuilder.cs プロジェクト: tiaotiao97/jib
 /**
  * Adds a {@link TarArchiveEntry} to the archive.
  *
  * @param entry the {@link TarArchiveEntry}
  */
 public void AddTarArchiveEntry(TarEntry entry)
 {
     entry             = entry ?? throw new ArgumentNullException(nameof(entry));
     archiveMap[entry] = entry.IsFile() ? Blobs.From(new SystemPath(entry.File)) : Blobs.From(_ => Task.CompletedTask, 0);
 }