MCPcopy Create free account
hub / github.com/bitcraze/crazyflie-lib-python / _extract_zip_targets

Method _extract_zip_targets

cflib/bootloader/__init__.py:220–231  ·  view source on GitHub ↗
(self, files)

Source from the content-addressed store, hash-verified

218 return result
219
220 def _extract_zip_targets(self, files):
221 zip_targets = {}
222 for file in files:
223 file_name = file
224 file_info = files[file]
225 file_target = file_info['target']
226 file_type = file_info['type']
227 if file_target not in zip_targets:
228 zip_targets[file_target] = {}
229 zip_targets[file_target][file_type] = {
230 'filename': file_name}
231 return zip_targets
232
233 def _extract_targets_from_manifest_files(self, files):
234 targets = {}

Callers 1

flashMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected