Method Compress
Compress(string, string)
Compresses all artifacts located at a specified directory.
Declaration
public static bool Compress(string directoryPath, string archiveFilePath)
Parameters
| Type | Name | Description |
|---|---|---|
| string | directoryPath | The directory containing the artifacts. |
| string | archiveFilePath | The file path at which the archive will be created. |
Returns
| Type | Description |
|---|---|
| bool | Returns true if the directory was found and compressed. Returns false otherwise. |