Files
flipper/desktop/app/src/fb-stubs/FileResolver.tsx
Dominik Wielgórski 3e4d92aad0 Get the most accurate full path for a class name
Summary: Added functionality of choosing the best path from the list of potential full paths. By resolving a class name, the method getBestPath checks for the most accurate solution.

Reviewed By: adityasharat

Differential Revision: D22625186

fbshipit-source-id: 98ac4ccd1c18ec19b49edf2ed6e74a84a9899a9f
2020-07-21 04:15:50 -07:00

35 lines
692 B
TypeScript

/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
*/
export enum IDE {
'AS',
'VSCode',
'XCode',
}
export async function resolveFullPathsFromMyles(
_fileName: string,
_dirRoot: string,
): Promise<string[]> {
throw new Error('Method not implemented.');
}
export function openInIDE(
_filePath: string,
_ide: IDE,
_repo: string,
_lineNumber = 0,
) {
throw new Error('Method not implemented.');
}
export function getBestPath(_paths: string[], _className: string): string {
throw new Error('Method not implemented.');
}