Summary
Extracts the specified tar archives.
- Namespace
- Cake
.Common .IO - Containing Type
- TarAliases
Syntax
[CakeMethodAlias]
public static void Untar(this ICakeContext context, IEnumerable<FilePath> archiveFiles, DirectoryPath outputPath)
Examples
Untar(new[] { "a.tar", "b.tar.gz" }, "./dependencies");
Attributes
| Type | Description |
|---|---|
| Cake |
An attribute used to mark script method aliases. |
Parameters
| Name | Type | Description |
|---|---|---|
| context | ICakeContext | The context. |
| archiveFiles | IEnumerable |
The archive files to extract. |
| outputPath | DirectoryPath | The output path to extract into. |
Return Value
| Type | Description |
|---|---|
| void |
