UNPKG

bit-bin

Version:

<a href="https://opensource.org/licenses/Apache-2.0"><img alt="apache" src="https://img.shields.io/badge/License-Apache%202.0-blue.svg"></a> <a href="https://github.com/teambit/bit/blob/master/CONTRIBUTING.md"><img alt="prs" src="https://img.shields.io/b

22 lines (21 loc) 825 B
import { AbstractVinyl } from '../consumer/component/sources'; import { PathOsBased } from '../utils/path'; import { BitId } from '../bit-id'; export default class LinkFile extends AbstractVinyl { override: boolean; ignorePreviousSymlink: boolean; writeAutoGeneratedMessage: boolean | null | undefined; srcPath: string | null | undefined; componentId: BitId | null | undefined; write(): Promise<string>; static load({ filePath, base, content, override, ignorePreviousSymlink, writeAutoGeneratedMessage, srcPath, componentId }: { filePath: PathOsBased; base?: string; content: string; override?: boolean; ignorePreviousSymlink?: boolean; writeAutoGeneratedMessage?: boolean; srcPath?: string; componentId?: BitId; }): LinkFile; }