src/windows/FileTransferProxy.js
function cordovaPathToNative(path) {

    var cleanPath = String(path);
    // turn / into \\
    cleanPath = cleanPath.replace(/\//g, '\\');
    // turn  \\ into \
    cleanPath = cleanPath.replace(/\\\\/g, '\\');
    // strip end \\ characters
    cleanPath = cleanPath.replace(/\\+$/g, '');
    return cleanPath;
}
function cordovaPathToNative(path) {

    var cleanPath = String(path);
    // turn / into \\
    cleanPath = cleanPath.replace(/\//g, '\\');
    // turn  \\ into \
    cleanPath = cleanPath.replace(/\\\\/g, '\\');
    // strip end \\ characters
    cleanPath = cleanPath.replace(/\\+$/g, '');
    return cleanPath;
}
function cordovaPathToNative ( path ) { var cleanPath = String ( path ) ; // turn / into \\ cleanPath = cleanPath . replace ( / \/ / g , '\\' ) ; // turn  \\ into \ cleanPath = cleanPath . replace ( / \\\\ / g , '\\' ) ; // strip end \\ characters cleanPath = cleanPath . replace ( / \\+$ / g , '' ) ; return cleanPath ; }
Some private helper functions, hidden by the module
Some private helper functions hidden by the module