UNPKG

@salesforce/core

Version:

Core libraries to interact with SFDX projects, orgs, and APIs.

14 lines (13 loc) 526 B
import { Readable, Writable } from 'node:stream'; import { StructuredWriter } from './structuredWriter'; export declare class ZipWriter extends Writable implements StructuredWriter { private readonly rootDestination?; private zip; private zipBuffer?; private logger; constructor(rootDestination?: string | undefined); get buffer(): Buffer; addToStore(contents: string | Readable | Buffer, path: string): Promise<void>; finalize(): Promise<void>; getDestinationPath(): string | undefined; }