parameters: (root_path)
return_statement: return rel_file_path_list, rel_dir_path_list
docstring: Iterates through the root_path, creating a list for each file and
          directory. Excludes any file paths ending with channel-prefs.js.
docstring_summary: Iterates through the root_path, creating a list for each file and
          directory. Excludes any file paths ending with channel-prefs.js.
docstring_tokens: Iterates through the root_path creating a list for each file and directory . Excludes any file paths ending with channel - prefs . js .
function: def get_build_entries(root_path):
      """ Iterates through the root_path, creating a list for each file and
          directory. Excludes any file paths ending with channel-prefs.js.
      """
      rel_file_path_set = set()
      rel_dir_path_set = set()
      for root, dirs, files in os.walk(root_path):
          for file_name in files:
              parent_dir_rel_path = root[len(root_path)+1:]
              rel_path_file = os.path.join(parent_dir_rel_path, file_name)
              rel_path_file = rel_path_file.replace("\\", "/")
              if not (rel_path_file.endswith("channel-prefs.js") or
                      rel_path_file.endswith("update-settings.ini") or
                      rel_path_file.find("distribution/") != -1):
                  rel_file_path_set.add(rel_path_file)
  
          for dir_name in dirs:
              parent_dir_rel_path = root[len(root_path)+1:]
              rel_path_dir = os.path.join(parent_dir_rel_path, dir_name)
              rel_path_dir = rel_path_dir.replace("\\", "/")+"/"
              if rel_path_dir.find("distribution/") == -1:
                  rel_dir_path_set.add(rel_path_dir)
  
      rel_file_path_list = list(rel_file_path_set)
      rel_file_path_list.sort(reverse=True)
      rel_dir_path_list = list(rel_dir_path_set)
      rel_dir_path_list.sort(reverse=True)
  
      return rel_file_path_list, rel_dir_path_list
function_tokens: def get_build_entries ( root_path ) : rel_file_path_set = set ( ) rel_dir_path_set = set ( ) for root , dirs , files in os . walk ( root_path ) : for file_name in files : parent_dir_rel_path = root [ len ( root_path ) + 1 : ] rel_path_file = os . path . join ( parent_dir_rel_path , file_name ) rel_path_file = rel_path_file . replace ( "\\" , "/" ) if not ( rel_path_file . endswith ( "channel-prefs.js" ) or rel_path_file . endswith ( "update-settings.ini" ) or rel_path_file . find ( "distribution/" ) != - 1 ) : rel_file_path_set . add ( rel_path_file ) for dir_name in dirs : parent_dir_rel_path = root [ len ( root_path ) + 1 : ] rel_path_dir = os . path . join ( parent_dir_rel_path , dir_name ) rel_path_dir = rel_path_dir . replace ( "\\" , "/" ) + "/" if rel_path_dir . find ( "distribution/" ) == - 1 : rel_dir_path_set . add ( rel_path_dir ) rel_file_path_list = list ( rel_file_path_set ) rel_file_path_list . sort ( reverse = True ) rel_dir_path_list = list ( rel_dir_path_set ) rel_dir_path_list . sort ( reverse = True ) return rel_file_path_list , rel_dir_path_list