UNPKG

tar

Version:
16 lines • 691 B
/** * The root of a path: a slash, a drive such as `c:` or `c:/`, or a * UNC root such as `//host/share/`. The same result as the `root` of * `path.win32.parse`. */ export declare const win32Root: (path: string) => string; /** True for a path with a root that is not relative to a drive. */ export declare const win32IsAbsolute: (path: string) => boolean; /** * Resolve `path` from the absolute path `base`. Both have `/` * separators. */ export declare const win32Resolve: (base: string, path: string) => string; /** The parent directory of an absolute path with `/` separators. */ export declare const win32Dirname: (path: string) => string; //# sourceMappingURL=win32-path.d.ts.map