function dotdir(base) {
  if (base.indexOf('/.') !== -1) {
    return true;
  }

  if (base.charAt(0) === '.' && base.charAt(1) !== '/') {
    return true;
  }

  return false;
}
Returns true if the glob matches dot-directories.

@param  {Object} `tok` The tokens object
@param  {Object} `path` The path object
@return {Object}