MCPcopy
hub / github.com/microsoft/JARVIS / build_index

Function build_index

easytool/easytool/util.py:52–59  ·  view source on GitHub ↗
(base_path)

Source from the content-addressed store, hash-verified

50
51
52def build_index(base_path):
53 index = {}
54 for root, dirs, files in os.walk(base_path):
55 for dir_name in dirs:
56 if dir_name not in index:
57 index[dir_name] = []
58 index[dir_name].append(root)
59 return index
60
61
62def change_name(name):

Callers 1

main.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected