function fsPath(uri) {
    var value;
    if (uri.authority && uri.path.length > 1 && uri.scheme === 'file') {
        // unc path: file://shares/c$/far/boo
        value = "//" + uri.authority + uri.path;
    }
    else if (isWindows
        && uri.path.charCodeAt(0) === 47 /* Slash */
        && (uri.path.charCodeAt(1) >= 65 /* A */ && uri.path.charCodeAt(1) <= 90 /* Z */ || uri.path.charCodeAt(1) >= 97 /* a */ && uri.path.charCodeAt(1) <= 122 /* z */)
        && uri.path.charCodeAt(2) === 58 /* Colon */) {
        value = uri.path.substr(1);
    }
    else {
        // other path
        value = uri.path;
    }
    if (isWindows) {
        value = value.replace(/\//g, '\\');
    }
    return value;
}
/**
 * Returns the fsPath of an URI where the drive letter is not normalized.
 * See #56403.
 */
Returns the fsPath of an URI where the drive letter is not normalized.
Returns the fsPath of an URI where the drive letter is not normalized .
function fsPath(uri) {
    var value;
    if (uri.authority && uri.path.length > 1 && uri.scheme === 'file') {
        value = "//" + uri.authority + uri.path;
    }
    else if (isWindows
        && uri.path.charCodeAt(0) === 47 
        && (uri.path.charCodeAt(1) >= 65  && uri.path.charCodeAt(1) <= 90  || uri.path.charCodeAt(1) >= 97  && uri.path.charCodeAt(1) <= 122 )
        && uri.path.charCodeAt(2) === 58 ) {
        value = uri.path.substr(1);
    }
    else {
        value = uri.path;
    }
    if (isWindows) {
        value = value.replace(/\//g, '\\');
    }
    return value;
}
function fsPath ( uri ) { var value ; if ( uri . authority && uri . path . length > 1 && uri . scheme === 'file' ) { value = "//" + uri . authority + uri . path ; } else if ( isWindows && uri . path . charCodeAt ( 0 ) === 47 && ( uri . path . charCodeAt ( 1 ) >= 65 && uri . path . charCodeAt ( 1 ) <= 90 || uri . path . charCodeAt ( 1 ) >= 97 && uri . path . charCodeAt ( 1 ) <= 122 ) && uri . path . charCodeAt ( 2 ) === 58 ) { value = uri . path . substr ( 1 ) ; } else { value = uri . path ; } if ( isWindows ) { value = value . replace ( / \/ / g , '\\' ) ; } return value ; }
Returns the fsPath of an URI where the drive letter is not normalized.
Returns the fsPath of an URI where the drive letter is not normalized .
// unc path: file://shares/c$/far/boo /* Slash */ /* A */ /* Z */ /* a */ /* z */ /* Colon */ // other path