UNPKG

561 BTypeScriptView Raw
1import { CwdFS, PortablePath } from '@yarnpkg/fslib';
2import { Fetcher, FetchOptions } from './Fetcher';
3import { Locator } from './types';
4export declare class WorkspaceFetcher implements Fetcher {
5 supports(locator: Locator): boolean;
6 getLocalPath(locator: Locator, opts: FetchOptions): PortablePath;
7 fetch(locator: Locator, opts: FetchOptions): Promise<{
8 packageFs: CwdFS;
9 prefixPath: PortablePath;
10 localPath: PortablePath;
11 }>;
12 getWorkspace(locator: Locator, opts: FetchOptions): import("./Workspace").Workspace;
13}