UNPKG

@salesforce/core

Version:

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

11 lines (10 loc) 450 B
import { Readable } from 'node:stream'; import { StructuredWriter } from './structuredWriter'; export declare class DirectoryWriter implements StructuredWriter { private readonly rootDestination?; constructor(rootDestination?: string | undefined); get buffer(): Buffer; addToStore(contents: string | Readable | Buffer, targetPath: string): Promise<void>; finalize(): Promise<void>; getDestinationPath(): string | undefined; }