UNPKG

@salesforce/core

Version:

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

16 lines (15 loc) 583 B
/// <reference types="node" /> /// <reference types="node" /> import { Readable, Writable } from '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; }