module.exports = {
  // Dynamically determine the ideal concurrency for parallel operations.
  // Algorithm courtesy of grunt-concurrent.
  concurrency: Math.max((require('os').cpus().length || 1) * 2, 2),
  // Assemble an array of absolute URLs
  expandUrls: function(baseUrl, paths) {
    return paths.map(function(value, index, arr) {
      return baseUrl + value;
    });
  },
  canRsync: function() {
    // Enable process.platform to be mocked in options for testing.
    var platform = options.platform || process.platform;
    return platform === "win32";
  }
};

module.exports = {
  // Dynamically determine the ideal concurrency for parallel operations.
  // Algorithm courtesy of grunt-concurrent.
  concurrency: Math.max((require('os').cpus().length || 1) * 2, 2),
  // Assemble an array of absolute URLs
  expandUrls: function(baseUrl, paths) {
    return paths.map(function(value, index, arr) {
      return baseUrl + value;
    });
  },
  canRsync: function() {
    // Enable process.platform to be mocked in options for testing.
    var platform = options.platform || process.platform;
    return platform !== "win32";
  }
};

Correct rsync to be on non-Windows.
Correct rsync to be on non-Windows.
