File tree Expand file tree Collapse file tree
extensions/ql-vscode/src/databases Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- import { dirname } from "path" ;
2- import * as vscode from "vscode" ;
3-
41export { DatabaseContentsWithDbScheme } from "./local-databases/database-contents" ;
52export {
63 DatabaseChangedEvent ,
@@ -19,15 +16,3 @@ export { DatabaseResolver } from "./local-databases/database-resolver";
1916 * The source of truth of the current state resides inside the
2017 * `DatabaseManager` class below.
2118 */
22-
23- /**
24- * Get the set of directories containing upgrades, given a list of
25- * scripts returned by the cli's upgrade resolution.
26- */
27- export function getUpgradesDirectories ( scripts : string [ ] ) : vscode . Uri [ ] {
28- const parentDirs = scripts . map ( ( dir ) => dirname ( dir ) ) ;
29- const uniqueParentDirs = new Set ( parentDirs ) ;
30- return Array . from ( uniqueParentDirs ) . map ( ( filePath ) =>
31- vscode . Uri . file ( filePath ) ,
32- ) ;
33- }
You can’t perform that action at this time.
0 commit comments