5 instantiations of TarWriterOptions
System.Formats.Tar (5)
System\Formats\Tar\TarFile.cs (4)
46CreateFromDirectory(sourceDirectoryName, destination, includeBaseDirectory, new TarWriterOptions() { Format = format }); 108return CreateFromDirectoryAsync(sourceDirectoryName, destination, includeBaseDirectory, new TarWriterOptions() { Format = format }, cancellationToken); 172CreateFromDirectory(sourceDirectoryName, destinationFileName, includeBaseDirectory, new TarWriterOptions() { Format = format }); 229return CreateFromDirectoryAsync(sourceDirectoryName, destinationFileName, includeBaseDirectory, new TarWriterOptions() { Format = format }, cancellationToken);
System\Formats\Tar\TarWriter.cs (1)
75return new TarWriterOptions() { Format = format };
13 references to TarWriterOptions
System.Formats.Tar (13)
System\Formats\Tar\TarFile.cs (11)
61/// <exception cref="ArgumentOutOfRangeException"><see cref="TarWriterOptions.Format"/> is either <see cref="TarEntryFormat.Unknown"/>, or not one of the other enum values.</exception> 63public static void CreateFromDirectory(string sourceDirectoryName, Stream destination, bool includeBaseDirectory, TarWriterOptions options) 125/// <exception cref="ArgumentOutOfRangeException"><see cref="TarWriterOptions.Format"/> is either <see cref="TarEntryFormat.Unknown"/>, or not one of the other enum values.</exception> 127public static Task CreateFromDirectoryAsync(string sourceDirectoryName, Stream destination, bool includeBaseDirectory, TarWriterOptions options, CancellationToken cancellationToken = default) 185/// <exception cref="ArgumentOutOfRangeException"><see cref="TarWriterOptions.Format"/> is either <see cref="TarEntryFormat.Unknown"/>, or not one of the other enum values.</exception> 187public static void CreateFromDirectory(string sourceDirectoryName, string destinationFileName, bool includeBaseDirectory, TarWriterOptions options) 244/// <exception cref="ArgumentOutOfRangeException"><see cref="TarWriterOptions.Format"/> is either <see cref="TarEntryFormat.Unknown"/>, or not one of the other enum values.</exception> 246public static Task CreateFromDirectoryAsync(string sourceDirectoryName, string destinationFileName, bool includeBaseDirectory, TarWriterOptions options, CancellationToken cancellationToken = default) 506private static void CreateFromDirectoryInternal(string sourceDirectoryName, Stream destination, bool includeBaseDirectory, bool leaveOpen, TarWriterOptions options) 536private static async Task CreateFromDirectoryInternalAsync(string sourceDirectoryName, string destinationFileName, bool includeBaseDirectory, TarWriterOptions options, CancellationToken cancellationToken) 560private static async Task CreateFromDirectoryInternalAsync(string sourceDirectoryName, Stream destination, bool includeBaseDirectory, bool leaveOpen, TarWriterOptions options, CancellationToken cancellationToken)
System\Formats\Tar\TarWriter.cs (2)
68private static TarWriterOptions CreateOptionsForFormat(TarEntryFormat format) 88public TarWriter(Stream archiveStream, TarWriterOptions options, bool leaveOpen = false)