MCPcopy Create free account
hub / github.com/boostorg/build / build_tree

Function build_tree

v2/test/tree.py:119–127  ·  view source on GitHub ↗

Takes PATH as the folder path, walks the file system below that path, and creates a tree structure based on any files and folders found there. Returns the prepared tree structure plus the maximum file modification timestamp under the given folder.

(path)

Source from the content-addressed store, hash-verified

117
118
119def build_tree(path):
120 """
121 Takes PATH as the folder path, walks the file system below that path, and
122 creates a tree structure based on any files and folders found there.
123 Returns the prepared tree structure plus the maximum file modification
124 timestamp under the given folder.
125
126 """
127 return _handle_dir(os.path.normpath(path))
128
129
130def tree_difference(a, b):

Callers

nothing calls this directly

Calls 1

_handle_dirFunction · 0.85

Tested by

no test coverage detected