GUnzip Class

Summary

Expands a file packed using GZip compression.
Assembly
NAnt.Compression.dll
Namespace
NAnt.Compression.Tasks
Base Types
  • Task
graph BT Type-->Base0["Task"] Type["GUnzip"] class Type type-node

Syntax

[TaskName("gunzip")]
public class GUnzip : Task

Examples

Expands "test.tar.gz" to "test2.tar".

<gunzip src="test.tar.gz" dest="test.tar" />

Attributes

Type Description
TaskName

Properties

Name Value Summary
DestFile FileInfo
The destination file.
SrcFile FileInfo
The file to expand.

Methods

Name Value Summary
ExecuteTask() void
Extracts the file from the gzip archive.