Skip to content

CompressionUtil

ClassAssetInventoryAssetInventory.Editor
public static class CompressionUtil

No description is available for this type.

ExtractGz(string, string, CancellationToken)

Section titled “ExtractGz(string, string, CancellationToken)”
public static void ExtractGz(string archive, string targetFolder, CancellationToken ct)

No description is available for this member.

Parameters

Name Type Description
archive System.String
targetFolder System.String
ct System.Threading.CancellationToken

ExtractGzFile(string, string, string, CancellationToken)

Section titled “ExtractGzFile(string, string, string, CancellationToken)”
public static string ExtractGzFile(string archive, string fileName, string targetFolder, CancellationToken ct)

No description is available for this member.

Parameters

Name Type Description
archive System.String
fileName System.String
targetFolder System.String
ct System.Threading.CancellationToken

Returns

System.String — No return description is available.

public static bool IsFirstArchiveVolume(string file)

No description is available for this member.

Parameters

Name Type Description
file System.String

Returns

System.Boolean — No return description is available.

public static void CompressFolder(string source, string target)

No description is available for this member.

Parameters

Name Type Description
source System.String
target System.String
public static void CreateEmptyZip(string zipPath)

No description is available for this member.

Parameters

Name Type Description
zipPath System.String

ExtractArchive(string, string, CancellationToken)

Section titled “ExtractArchive(string, string, CancellationToken)”
public static bool ExtractArchive(string archiveFile, string targetFolder, CancellationToken ct = default)

No description is available for this member.

Parameters

Name Type Description
archiveFile System.String
targetFolder System.String
ct System.Threading.CancellationToken

Returns

System.Boolean — No return description is available.