5 instantiations of TarWriterOptions
System.Formats.Tar (5)
System\Formats\Tar\TarFile.cs (4)
40CreateFromDirectory(sourceDirectoryName, destination, includeBaseDirectory, new TarWriterOptions() { Format = format }); 102return CreateFromDirectoryAsync(sourceDirectoryName, destination, includeBaseDirectory, new TarWriterOptions() { Format = format }, cancellationToken); 166CreateFromDirectory(sourceDirectoryName, destinationFileName, includeBaseDirectory, new TarWriterOptions() { Format = format }); 223return 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)
55/// <exception cref="ArgumentOutOfRangeException"><see cref="TarWriterOptions.Format"/> is either <see cref="TarEntryFormat.Unknown"/>, or not one of the other enum values.</exception> 57public static void CreateFromDirectory(string sourceDirectoryName, Stream destination, bool includeBaseDirectory, TarWriterOptions options) 119/// <exception cref="ArgumentOutOfRangeException"><see cref="TarWriterOptions.Format"/> is either <see cref="TarEntryFormat.Unknown"/>, or not one of the other enum values.</exception> 121public static Task CreateFromDirectoryAsync(string sourceDirectoryName, Stream destination, bool includeBaseDirectory, TarWriterOptions options, CancellationToken cancellationToken = default) 179/// <exception cref="ArgumentOutOfRangeException"><see cref="TarWriterOptions.Format"/> is either <see cref="TarEntryFormat.Unknown"/>, or not one of the other enum values.</exception> 181public static void CreateFromDirectory(string sourceDirectoryName, string destinationFileName, bool includeBaseDirectory, TarWriterOptions options) 238/// <exception cref="ArgumentOutOfRangeException"><see cref="TarWriterOptions.Format"/> is either <see cref="TarEntryFormat.Unknown"/>, or not one of the other enum values.</exception> 240public static Task CreateFromDirectoryAsync(string sourceDirectoryName, string destinationFileName, bool includeBaseDirectory, TarWriterOptions options, CancellationToken cancellationToken = default) 520private static void CreateFromDirectoryInternal(string sourceDirectoryName, Stream destination, bool includeBaseDirectory, bool leaveOpen, TarWriterOptions options) 550private static async Task CreateFromDirectoryInternalAsync(string sourceDirectoryName, string destinationFileName, bool includeBaseDirectory, TarWriterOptions options, CancellationToken cancellationToken) 573private 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)