UNPKG

@baseplate-dev/sync

Version:

Library for syncing Baseplate descriptions

26 lines 778 B
/** * A container for files that are generated */ export declare class TemplateExtractorFileContainer { private readonly packageDirectories; private files; constructor(packageDirectories: string[]); /** * Writes a file to the container. * * @param filePath - The path of the file to write. * @param contents - The contents of the file to write. */ writeFile(filePath: string, contents: string | Buffer): Promise<void>; private commitFile; /** * Commits the files to the filesystem. */ commit(): Promise<void>; /** * Get the files map for testing purposes. * @internal */ getFiles(): ReadonlyMap<string, string | Buffer>; } //# sourceMappingURL=template-extractor-file-container.d.ts.map