MCPcopy Index your code
hub / github.com/commaai/openpilot / upload_files

Method upload_files

tools/lib/github_utils.py:51–54  ·  view source on GitHub ↗
(self, bucket, files)

Source from the content-addressed store, hash-verified

49 self.api_call(github_path, data=data, method=HTTPMethod.PUT, data_call=True)
50
51 def upload_files(self, bucket, files):
52 self.create_bucket(bucket)
53 for file_name,path in files:
54 self.upload_file(bucket, path, file_name)
55
56 def create_bucket(self, bucket):
57 if self.get_bucket_sha(bucket):

Callers 2

comment_images_on_prMethod · 0.95
comment_replay_reportFunction · 0.80

Calls 2

create_bucketMethod · 0.95
upload_fileMethod · 0.95

Tested by

no test coverage detected