5 instantiations of TarWriterOptions
System.Formats.Tar (5)
System\Formats\Tar\TarFile.cs (4)
46
CreateFromDirectory(sourceDirectoryName, destination, includeBaseDirectory, new
TarWriterOptions
() { Format = format });
108
return CreateFromDirectoryAsync(sourceDirectoryName, destination, includeBaseDirectory, new
TarWriterOptions
() { Format = format }, cancellationToken);
172
CreateFromDirectory(sourceDirectoryName, destinationFileName, includeBaseDirectory, new
TarWriterOptions
() { Format = format });
229
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)
61
/// <exception cref="ArgumentOutOfRangeException"><see cref="
TarWriterOptions
.Format"/> is either <see cref="TarEntryFormat.Unknown"/>, or not one of the other enum values.</exception>
63
public 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>
127
public 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>
187
public 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>
246
public static Task CreateFromDirectoryAsync(string sourceDirectoryName, string destinationFileName, bool includeBaseDirectory,
TarWriterOptions
options, CancellationToken cancellationToken = default)
506
private static void CreateFromDirectoryInternal(string sourceDirectoryName, Stream destination, bool includeBaseDirectory, bool leaveOpen,
TarWriterOptions
options)
536
private static async Task CreateFromDirectoryInternalAsync(string sourceDirectoryName, string destinationFileName, bool includeBaseDirectory,
TarWriterOptions
options, CancellationToken cancellationToken)
560
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)