function containsDotFile(parts) {
  for (let i = 0; i < parts.length; i++) {
    const part = parts[i];
    if (part.length > 1 && part[0] === ".") {
      return true;
    }
  }
  return false;
}
/**
 * Determine if path parts contain a dotfile.
 *
 * @private
 */
Determine if path parts contain a dotfile.
@private
Determine if path parts contain a dotfile . @private
function containsDotFile(parts) {
  for (let i = 0; i < parts.length; i++) {
    const part = parts[i];
    if (part.length > 1 && part[0] === ".") {
      return true;
    }
  }
  return false;
}
function containsDotFile ( parts ) { for ( let i = 0 ; i < parts . length ; i ++ ) { const part = parts [ i ] ; if ( part . length > 1 && part [ 0 ] === "." ) { return true ; } } return false ; }
Determine if path parts contain a dotfile.
Determine if path parts contain a dotfile .