File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,20 @@ import chalk = require('chalk');
12
12
type CoverageProvider = 'babel' | 'v8' ;
13
13
14
14
export type Path = string ;
15
+ export type PathID = string ;
16
+ // Keeping RPth of the same length as Path for now, to keep diffs to minimum
17
+ // will rename it later.
18
+ export type RPth = {
19
+ // the initial path as it was used before this PR
20
+ // replace it with other properties:
21
+ // 1. realpath - full path resolved using smth. like _getRealPath()
22
+ // 2. filename - just the file name w/o the containing directies
23
+ // 3. extname - just the extension (to speed up a bit)
24
+ // 4. dirname - just the dir name (to speed up a bit)
25
+ readonly path : string
26
+ // prob. the real path + the query string
27
+ readonly id : PathID ,
28
+ } ;
15
29
16
30
export type Glob = string ;
17
31
You can’t perform that action at this time.
0 commit comments