tree:

setDeep(target, source)

Recursively applies updates from the source tree to the target tree.

The target tree must support the set method in the AsyncTree interface. The only types of trees defined in the async-tree library that provides such support are ObjectTree and FileTree.