code: function initJobDirs(branchBase, job, cache, done) {
    var dirs = {
      base: branchBase,
      data: path.join(branchBase, `job-${job._id.toString()}`),
      cache: cache
    };
  
    async.series([
      function checkData(next) {
        fs.exists(dirs.data, function (exists) {
          if (!exists) return next();
          fs.remove(dirs.data, function () {
            next();
          });
        });
      },
      fs.mkdirp.bind(null, dirs.data),
      fs.mkdirp.bind(null, dirs.cache)
    ], function (err) {
      done(err, dirs);
    });
  }
docs: base: the base directory where all jobs data for this project and branch is stored the job object. done(err, {base:, data:, cache:})