5 instantiations of TarWriterOptions
System.Formats.Tar (5)
System\Formats\Tar\TarFile.cs (4)
40
CreateFromDirectory(sourceDirectoryName, destination, includeBaseDirectory, new
TarWriterOptions
() { Format = format });
102
return CreateFromDirectoryAsync(sourceDirectoryName, destination, includeBaseDirectory, new
TarWriterOptions
() { Format = format }, cancellationToken);
166
CreateFromDirectory(sourceDirectoryName, destinationFileName, includeBaseDirectory, new
TarWriterOptions
() { Format = format });
223
return CreateFromDirectoryAsync(sourceDirectoryName, destinationFileName, includeBaseDirectory, new
TarWriterOptions
() { Format = format }, cancellationToken);
System\Formats\Tar\TarWriter.cs (1)
75
return 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>
57
public 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>
121
public 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>
181
public 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>
240
public static Task CreateFromDirectoryAsync(string sourceDirectoryName, string destinationFileName, bool includeBaseDirectory,
TarWriterOptions
options, CancellationToken cancellationToken = default)
520
private static void CreateFromDirectoryInternal(string sourceDirectoryName, Stream destination, bool includeBaseDirectory, bool leaveOpen,
TarWriterOptions
options)
550
private static async Task CreateFromDirectoryInternalAsync(string sourceDirectoryName, string destinationFileName, bool includeBaseDirectory,
TarWriterOptions
options, CancellationToken cancellationToken)
573
private static async Task CreateFromDirectoryInternalAsync(string sourceDirectoryName, Stream destination, bool includeBaseDirectory, bool leaveOpen,
TarWriterOptions
options, CancellationToken cancellationToken)
System\Formats\Tar\TarWriter.cs (2)
68
private static
TarWriterOptions
CreateOptionsForFormat(TarEntryFormat format)
88
public TarWriter(Stream archiveStream,
TarWriterOptions
options, bool leaveOpen = false)