UNPKG

@salesforce/core

Version:

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

13 lines (12 loc) 507 B
/// <reference types="node" /> /// <reference types="node" /> import { Readable } from '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; }