UNPKG

bit-bin

Version:

<a href="https://opensource.org/licenses/Apache-2.0"><img alt="apache" src="https://img.shields.io/badge/License-Apache%202.0-blue.svg"></a> <a href="https://github.com/teambit/bit/blob/master/CONTRIBUTING.md"><img alt="prs" src="https://img.shields.io/b

14 lines (13 loc) 853 B
export declare type PathLinux = string; export declare type PathLinuxRelative = string; export declare type PathLinuxAbsolute = string; export declare type PathOsBased = string | PathOsBasedRelative | PathOsBasedAbsolute; export declare type PathOsBasedRelative = string; export declare type PathOsBasedAbsolute = string; export declare type PathRelative = string; export declare type PathAbsolute = string; export declare function pathJoinLinux(...paths: any[]): PathLinux; export declare function pathNormalizeToLinux(pathToNormalize?: PathOsBased): PathLinux; export declare function pathRelativeLinux(from: PathOsBased, to: PathOsBased): PathLinux; export declare function pathResolveToLinux(arr: PathOsBased[]): PathLinux; export declare function getPathRelativeRegardlessCWD(from: PathOsBasedRelative, to: PathOsBasedRelative): PathLinuxRelative;