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)
| 117 | |
| 118 | |
| 119 | def 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 | |
| 130 | def tree_difference(a, b): |
nothing calls this directly
no test coverage detected