index.js
function containsDotFile (parts) {
  for (var i = 0; i < parts.length; i++) {
    var part = parts[i]
    if (part.length > 1 && part[0] === '.') {
      return true
    }
  }

  return false
}
function containsDotFile (parts) {
  for (var i = 0; i < parts.length; i++) {
    var part = parts[i]
    if (part.length > 1 && part[0] === '.') {
      return true
    }
  }

  return false
}
function containsDotFile ( parts ) { for ( var i = 0 ; i < parts . length ; i ++ ) { var part = parts [ i ] if ( part . length > 1 && part [ 0 ] === '.' ) { return true } } return false }
Determine if path parts contain a dotfile.

@api private
Determine if path parts contain a dotfile .