code: 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;
  }
docs: Some private helper functions, hidden by the module