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
26 lines (25 loc) • 660 B
TypeScript
/// <reference types="node" />
import BitObject from '../objects/object';
import { BitId } from '../../bit-id';
export declare type SymlinkProp = {
scope: string;
name: string;
realScope: string;
};
export default class Symlink extends BitObject {
scope: string;
name: string;
realScope: string;
constructor(props: SymlinkProp);
id(): string;
getRealComponentId(): BitId;
static parse(contents: Buffer): Symlink;
toObject(): {
scope: string;
name: string;
realScope: string;
};
toBitId(): BitId;
toBuffer(pretty?: boolean): Buffer;
static from(props: SymlinkProp): Symlink;
}