tools/android/modularization/owners/owners_exporter.py
def to_json_file(paths_with_data: List[
    Tuple[owners_data.RequestedPath, owners_data.PathData]],
                 output_path: str) -> None:
  '''Exports the data to an output json.'''

  with open(output_path, 'w') as f:
    for requested_path, path_data in paths_with_data:
      data_dict: Dict = _to_data_dict(requested_path, path_data)
      json.dump(data_dict, f)
      f.write('\n')
Exports the data to an output json.
Exports the data to an output json.
Exports the data to an output json .
def to_json_file(paths_with_data: List[
    Tuple[owners_data.RequestedPath, owners_data.PathData]],
                 output_path: str) -> None:
  with open(output_path, 'w') as f:
    for requested_path, path_data in paths_with_data:
      data_dict: Dict = _to_data_dict(requested_path, path_data)
      json.dump(data_dict, f)
      f.write('\n')
def to_json_file ( paths_with_data : List [ Tuple [ owners_data . RequestedPath , owners_data . PathData ] ] , output_path : str ) -> None : with open ( output_path , 'w' ) as f : for requested_path , path_data in paths_with_data : data_dict : Dict = _to_data_dict ( requested_path , path_data ) json . dump ( data_dict , f ) f . write ( '\n' )
Exports the data to an output json.
Exports the data to an output json .
'''Exports the data to an output json.'''
paths_with_data
List[
    Tuple[owners_data.RequestedPath, owners_data.PathData]]
output_path
str