tools/android/modularization/owners/getowners.py
def _process_requested_path(
    chromium_root: str, all_dir_metadata: Dict,
    requested_path: owners_data.RequestedPath
) -> Tuple[owners_data.RequestedPath, owners_data.PathData]:
  '''Gets the necessary information from the git repository.'''

  owners_file = _find_owners_file(chromium_root, requested_path.path)
  owners = _build_owners_info(chromium_root, owners_file)
  git_data = _fetch_git_data(chromium_root, requested_path)
  dir_metadata = owners_dir_metadata.build_dir_metadata(all_dir_metadata,
                                                        requested_path)
  path_data = owners_data.PathData(owners, git_data, dir_metadata)
  return (requested_path, path_data)
Gets the necessary information from the git repository.
Gets the necessary information from the git repository.
Gets the necessary information from the git repository .
def _process_requested_path(
    chromium_root: str, all_dir_metadata: Dict,
    requested_path: owners_data.RequestedPath
) -> Tuple[owners_data.RequestedPath, owners_data.PathData]:
  owners_file = _find_owners_file(chromium_root, requested_path.path)
  owners = _build_owners_info(chromium_root, owners_file)
  git_data = _fetch_git_data(chromium_root, requested_path)
  dir_metadata = owners_dir_metadata.build_dir_metadata(all_dir_metadata,
                                                        requested_path)
  path_data = owners_data.PathData(owners, git_data, dir_metadata)
  return (requested_path, path_data)
def _process_requested_path ( chromium_root : str , all_dir_metadata : Dict , requested_path : owners_data . RequestedPath ) -> Tuple [ owners_data . RequestedPath , owners_data . PathData ] : owners_file = _find_owners_file ( chromium_root , requested_path . path ) owners = _build_owners_info ( chromium_root , owners_file ) git_data = _fetch_git_data ( chromium_root , requested_path ) dir_metadata = owners_dir_metadata . build_dir_metadata ( all_dir_metadata , requested_path ) path_data = owners_data . PathData ( owners , git_data , dir_metadata ) return ( requested_path , path_data )
Gets the necessary information from the git repository.
Gets the necessary information from the git repository .
'''Gets the necessary information from the git repository.'''
chromium_root
str
all_dir_metadata
Dict
requested_path
owners_data.RequestedPath