Table of Contents

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 string
outputStream Stream
exchangeIds HashSet<int>

When not null pack only provided exchanged ids, if not pack all found exchanges

Returns

Task

Pack(string, string, HashSet<int>?)

public Task Pack(string directory, string outputFileName, HashSet<int>? exchangeIds = null)

Parameters

directory string
outputFileName string
exchangeIds HashSet<int>

Returns

Task

ShouldApplyTo(string)

Check if the provided file name applies to this packager

public override bool ShouldApplyTo(string fileName)

Parameters

fileName string

Returns

bool

Unpack(Stream, string)

public void Unpack(Stream inputStream, string directoryOutput)

Parameters

inputStream Stream
directoryOutput string

UnpackAsync(Stream, string)

public Task UnpackAsync(Stream inputStream, string directoryOutput)

Parameters

inputStream Stream
directoryOutput string

Returns

Task