Functions
Const filterPathsByPrefix
- filterPathsByPrefix(prefix: string, paths: string[]): string[]
-
Parameters
-
prefix: string
-
paths: string[]
Returns string[]
Const getParentPath
- getParentPath(...args: [string: string]): string
-
Parameters
-
Rest ...args: [string: string]
Returns string
Const joinPath
- joinPath(array: (string | number)[]): string
-
Parameters
-
array: (string | number)[]
Returns string
Const removePrefix
- removePrefix(prefix: string, paths: string[]): string[]
-
Parameters
-
prefix: string
-
paths: string[]
Returns string[]
Const splitPath
- splitPath(string: string): string[]
-
Parameters
Returns string[]
Filters paths that have the given prefix.