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
This commit is contained in:
committed by
Facebook GitHub Bot
parent
82e2d19a85
commit
3e4d92aad0
@@ -15,16 +15,20 @@ export enum IDE {
|
|||||||
|
|
||||||
export async function resolveFullPathsFromMyles(
|
export async function resolveFullPathsFromMyles(
|
||||||
_fileName: string,
|
_fileName: string,
|
||||||
_dirRoot?: string,
|
_dirRoot: string,
|
||||||
) {
|
): Promise<string[]> {
|
||||||
throw new Error('Method not implemented.');
|
throw new Error('Method not implemented.');
|
||||||
}
|
}
|
||||||
|
|
||||||
export function openInIDE(
|
export function openInIDE(
|
||||||
_filepath: string,
|
_filePath: string,
|
||||||
_ide: IDE,
|
_ide: IDE,
|
||||||
|
_repo: string,
|
||||||
_lineNumber = 0,
|
_lineNumber = 0,
|
||||||
_repo?: string,
|
|
||||||
) {
|
) {
|
||||||
throw new Error('Method not implemented.');
|
throw new Error('Method not implemented.');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export function getBestPath(_paths: string[], _className: string): string {
|
||||||
|
throw new Error('Method not implemented.');
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user