C# Class Octopus.Cli.Commands.ZipPackageBuilder

Inheritance: IPackageBuilder
显示文件 Open project: OctopusDeploy/Octo.exe

Public Methods

Method Description
BuildPackage ( string basePath, IList includes, ManifestMetadata metadata, string outFolder, bool overwrite ) : void
ZipPackageBuilder ( IOctopusFileSystem fileSystem, Serilog log ) : System

Private Methods

Method Description
UseCrossPlatformDirectorySeparator ( string path ) : string

Per the .ZIP File Format Specification 4.4.17.1 all slashes should be forward slashes, not back slashes. https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT This functionality is being implemented in the framework: https://github.com/dotnet/corefx/commit/7b9331e89a795c72709aef38898929e74c343dfb

Method Details

BuildPackage() public method

public BuildPackage ( string basePath, IList includes, ManifestMetadata metadata, string outFolder, bool overwrite ) : void
basePath string
includes IList
metadata NuGet.ManifestMetadata
outFolder string
overwrite bool
return void

ZipPackageBuilder() public method

public ZipPackageBuilder ( IOctopusFileSystem fileSystem, Serilog log ) : System
fileSystem IOctopusFileSystem
log Serilog
return System