MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / filt_tree

Function filt_tree

tools/targets/vsc.py:48–52  ·  view source on GitHub ↗
(tree)

Source from the content-addressed store, hash-verified

46
47
48def filt_tree(tree):
49 key, subtree = find_first_node_with_two_children(tree)
50 if key:
51 return {key: subtree}
52 return {}
53
54
55def add_path_to_tree(tree, path):

Callers 1

Calls 1

Tested by

no test coverage detected