MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / add_driver

Function add_driver

Buildscripts/release-sdk.py:91–95  ·  view source on GitHub ↗
(target_path, driver_name)

Source from the content-addressed store, hash-verified

89 f.write(content)
90
91def add_driver(target_path, driver_name):
92 mappings = get_driver_mappings(driver_name)
93 map_copy(mappings, target_path)
94 cmakelists_content = create_module_cmakelists(driver_name)
95 write_module_cmakelists(os.path.join(target_path, f"Drivers/{driver_name}/CMakeLists.txt"), cmakelists_content)
96
97def add_module(target_path, module_name):
98 mappings = get_module_mappings(module_name)

Callers 1

mainFunction · 0.85

Calls 5

get_driver_mappingsFunction · 0.85
map_copyFunction · 0.85
create_module_cmakelistsFunction · 0.85
write_module_cmakelistsFunction · 0.85
joinMethod · 0.80

Tested by

no test coverage detected