* Returns true if the given path contains a mount point.
(p: string)
| 333 | * Returns true if the given path contains a mount point. |
| 334 | */ |
| 335 | private _containsMountPt(p: string): boolean { |
| 336 | const mountPoints = this.mountList, len = mountPoints.length; |
| 337 | for (let i = 0; i < len; i++) { |
| 338 | const pt = mountPoints[i]; |
| 339 | if (pt.length >= p.length && pt.slice(0, p.length) === p) { |
| 340 | return true; |
| 341 | } |
| 342 | } |
| 343 | return false; |
| 344 | } |
| 345 | } |
| 346 | |
| 347 | /** |