tar
Version:
tar for JavaScript
10 lines • 429 B
TypeScript
/**
* Remove each root from the start of a path. Returns the roots and
* the rest of the path.
*
* A POSIX absolute path is also absolute on Windows, so the rules of
* Windows are used on each platform. A path that is relative to a
* drive loses the drive: `c:../foo` gives `['c:', '../foo']`.
*/
export declare const stripAbsolutePath: (path: string) => [string, string];
//# sourceMappingURL=strip-absolute-path.d.ts.map