MCPcopy Create free account
hub / github.com/brainflow-dev/brainflow / add_directory_to_zip

Function add_directory_to_zip

tools/package_android_aar.py:46–49  ·  view source on GitHub ↗
(zip_file, directory)

Source from the content-addressed store, hash-verified

44
45
46def add_directory_to_zip(zip_file, directory):
47 for path in sorted(directory.rglob('*')):
48 if path.is_file():
49 zip_file.write(path, path.relative_to(directory).as_posix())
50
51
52def parse_args():

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected