getPathComponents ( "/path/to/file.ext" ) === [ "/" , "path" , "to" , "file.ext" ]
getPathComponents ( "/path/to/" ) === [ "/" , "path" , "to" ]
getPathComponents ( "/" ) === [ "/" ]
getPathComponents ( "c:/path/to/file.ext" ) === [ "c:/" , "path" , "to" , "file.ext" ]
getPathComponents ( "c:/path/to/" ) === [ "c:/" , "path" , "to" ]
getPathComponents ( "c:/" ) === [ "c:/" ]
getPathComponents ( "c:" ) === [ "c:" ]
getPathComponents ( "http://typescriptlang.org/path/to/file.ext" ) === [ "http://typescriptlang.org/" , "path" , "to" , "file.ext" ]
getPathComponents ( "http://typescriptlang.org/path/to/" ) === [ "http://typescriptlang.org/" , "path" , "to" ]
getPathComponents ( "http://typescriptlang.org/" ) === [ "http://typescriptlang.org/" ]
getPathComponents ( "http://typescriptlang.org" ) === [ "http://typescriptlang.org" ]
getPathComponents ( "file://server/path/to/file.ext" ) === [ "file://server/" , "path" , "to" , "file.ext" ]
getPathComponents ( "file://server/path/to/" ) === [ "file://server/" , "path" , "to" ]
getPathComponents ( "file://server/" ) === [ "file://server/" ]
getPathComponents ( "file://server" ) === [ "file://server" ]
getPathComponents ( "file:///path/to/file.ext" ) === [ "file:///" , "path" , "to" , "file.ext" ]
getPathComponents ( "file:///path/to/" ) === [ "file:///" , "path" , "to" ]
getPathComponents ( "file:///" ) === [ "file:///" ]
getPathComponents ( "file://" ) === [ "file://" ]