code: function gitignore(cwd, fp, arr) {
    fp = path.resolve(cwd, fp);
    if (!fs.existsSync(fp)) {
      return utils.defaultIgnores;
    }
    var str = fs.readFileSync(fp, 'utf8');
    return parse(str, arr);
  }
docs: Parse the local `.gitignore` file and add
  the resulting ignore patterns.