code: func (m *modulePat) match(file string) bool {
  	if m.literal {
  		return file == m.pattern
  	}
  	match, _ := filepath.Match(m.pattern, file)
  	return match
  }
docs: // match reports whether the file matches the pattern. It uses a string
  // comparison if the pattern contains no metacharacters.