File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change 11import { basename } from 'path'
22import { Uri , workspace , WorkspaceEdit } from 'vscode'
3- import { isSameOrChild } from '.'
4- import { definedAndNonEmpty } from '../util/array'
5- import { getWorkspaceFolders } from '../vscode/workspaceFolders'
63
74export const deleteTarget = ( uri : Uri ) => {
85 const edit = new WorkspaceEdit ( )
@@ -19,14 +16,6 @@ export const moveTargets = (targets: Uri[], destination: Uri) => {
1916 return workspace . applyEdit ( edit )
2017}
2118
22- export const isInWorkspace = ( pathOrGlob : string ) : boolean => {
23- const isContained = getWorkspaceFolders ( )
24- . map ( workspaceFolder => isSameOrChild ( workspaceFolder , pathOrGlob ) )
25- . filter ( Boolean )
26-
27- return definedAndNonEmpty ( isContained )
28- }
29-
3019export const findFiles = async (
3120 relativeGlob : string ,
3221 exclude ?: string
You can’t perform that action at this time.
0 commit comments