code: def _get_files_config(src_dir, files_list):
      
      FilesConfig = collections.namedtuple('FilesConfig',
                                           ['src', 'dst', 'post_commands'])
  
      return [
          FilesConfig(**d) for d in _get_files_generator(src_dir, files_list)
      ]
docs: Construct `FileConfig` object and return a list.
  
      :param src_dir: A string containing the source directory.
      :param files_list: A list of dicts containing the src/dst mapping of files
       to overlay.
      :return: list