Class FxzyDirectoryPackager
- Namespace
- Fluxzy
- Assembly
- Fluxzy.Core.dll
The default fluxzy archive packager
public class FxzyDirectoryPackager : DirectoryPackager
- Inheritance
-
FxzyDirectoryPackager
- Inherited Members
Methods
Pack(string, Stream, HashSet<int>?)
Pack a directory into a stream
public override Task Pack(string directory, Stream outputStream, HashSet<int>? exchangeIds)
Parameters
directory
stringoutputStream
StreamexchangeIds
HashSet<int>When not null pack only provided exchanged ids, if not pack all found exchanges
Returns
Pack(string, string, HashSet<int>?)
public Task Pack(string directory, string outputFileName, HashSet<int>? exchangeIds = null)
Parameters
Returns
ShouldApplyTo(string)
Check if the provided file name applies to this packager
public override bool ShouldApplyTo(string fileName)
Parameters
fileName
string
Returns
Unpack(Stream, string)
public void Unpack(Stream inputStream, string directoryOutput)
Parameters
UnpackAsync(Stream, string)
public Task UnpackAsync(Stream inputStream, string directoryOutput)