lib/rsync/rsync-utils.js
function validateParams(fs, param2) {
  var err;

  if(!fs) {
    err = new Errors.EINVAL('No filesystem provided');
  } else if(!param2) {
    err = new Errors.EINVAL('Second argument must be specified');
  }

  return err;
}
function validateParams(fs, param2) {
  var err;

  if(!fs) {
    err = new Errors.EINVAL('No filesystem provided');
  } else if(!param2) {
    err = new Errors.EINVAL('Second argument must be specified');
  }

  return err;
}
function validateParams ( fs , param2 ) { var err ; if ( ! fs ) { err = new Errors . EINVAL ( 'No filesystem provided' ) ; } else if ( ! param2 ) { err = new Errors . EINVAL ( 'Second argument must be specified' ) ; } return err ; }
Validate the parameters sent to each rsync method
Validate the parameters sent to each rsync method