The forward slash path separator.
the base name of a path.
Test if otherRange
is in range
. If the ranges are equal, will return true.
.far
from boo.far
or the empty string.
Computes the root this path, like getRoot('c:\files') === c:\
,
getRoot('files:///files/path') === files:///
,
or getRoot('\\server\shares\path') === \\server\shares\
Simplified glob matching. Supports a subset of glob patterns:
Simplified glob matching. Supports a subset of glob patterns:
Same as parse
, but the ParsedExpression is guaranteed to return a Promise
The native path separator depending on the OS.