(path)
| 3157 | } |
| 3158 | |
| 3159 | function splitPath(path) |
| 3160 | { |
| 3161 | const first = app.extract(/^([\\\/]*[^\\\/]+)[\\\/]*/, path); |
| 3162 | const segments = path.replace(/^([\\\/]*[^\\\/]+)[\\\/]*/, '').split(p.sep).filter(i => i); |
| 3163 | |
| 3164 | segments.unshift(first); |
| 3165 | |
| 3166 | return segments; |
| 3167 | } |
| 3168 | |
| 3169 | function isParentPath(parentPath, fullPath) |
| 3170 | { |
no outgoing calls
no test coverage detected