Methods
addFileRoot
- addFileRoot(fileName: string, ignoreCase?: boolean, useParent?: boolean): InstallRootFinder
-
Parameters
-
fileName: string
-
ignoreCase: boolean = true
-
useParent: boolean = false
addFolderRoot
- addFolderRoot(folderName: string, ignoreCase?: boolean, useParent?: boolean): InstallRootFinder
-
Parameters
-
folderName: string
-
ignoreCase: boolean = true
-
useParent: boolean = false
addSearch
-
Parameters
-
predicate: (value: string) => boolean
-
-
Parameters
Returns boolean
getRoot
- getRoot(files: string[]): string
-
Parameters
Returns string
getRoots
- getRoots(files: string[]): string[]
-
Parameters
Returns string[]