Functions
Run7zCommand
Run7zCommand( command: string , switches?: any ) : Promise < string >
Defined in src/KavenUtility.Archive.ts:165
Parameters
command: string
Optional switches: any
Returns Promise < string >
SevenZipFiles
SevenZipFiles( files: string [] , fileName: string , password?: string ) : Promise < string | Error >
Defined in src/KavenUtility.Archive.ts:354
Parameters
files: string []
fileName: string
Optional password: string
Returns Promise < string | Error >
SevenZipFolder
SevenZipFolder( folderPath: string , fileName: string , password?: string ) : Promise < string >
Defined in src/KavenUtility.Archive.ts:333
Parameters
folderPath: string
fileName: string
Optional password: string
Returns Promise < string >
ZipFolder
ZipFolder( folderPath: string , fileName: string , topFolderName?: string , options?: { compressionLevel: number ; password?: string } ) : Promise < string >
Defined in src/KavenUtility.Archive.ts:42
Parameters
folderPath: string
fileName: string
topFolderName: string = ...
Optional options: { compressionLevel: number ; password?: string }
compressionLevel: number
Optional password?: string
Returns Promise < string >
Legend
Variable
Function
Function with type parameter
Type alias
Interface
Interface with type parameter
You must have the 7z executable available in your PATH or in the same directory of your package.json file. On Debian and Ubuntu install the p7zip-full package. On Windows use the 7z.exe binary. On Mac OSX use Homebrew brew install p7zip
1.0.0
1.0.5