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
12 lines (11 loc) • 713 B
TypeScript
import Consumer from '../consumer';
import { PathOsBasedRelative, PathOsBasedAbsolute } from '../../utils/path';
import { PathChangeResult } from '../bit-map/bit-map';
import Component from '../component/consumer-component';
import { BitId } from '../../bit-id';
export declare function movePaths(consumer: Consumer, { from, to }: {
from: PathOsBasedRelative;
to: PathOsBasedRelative;
}): Promise<PathChangeResult[]>;
export declare function moveExistingComponent(consumer: Consumer, component: Component, oldPath: PathOsBasedAbsolute, newPath: PathOsBasedAbsolute): void;
export declare function moveExistingComponentFilesToOneDir(consumer: Consumer, id: BitId, to: string): Promise<PathChangeResult[]>;