MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / store

Function store

tools/python-3.11.9-amd64/Tools/scripts/dutree.py:25–32  ·  view source on GitHub ↗
(size, comps, total, d)

Source from the content-addressed store, hash-verified

23 raise
24
25def store(size, comps, total, d):
26 if comps == []:
27 return size, d
28 if comps[0] not in d:
29 d[comps[0]] = None, {}
30 t1, d1 = d[comps[0]]
31 d[comps[0]] = store(size, comps[1:], t1, d1)
32 return total, d
33
34def display(total, d):
35 show(total, d, '')

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected