If a tree structure is deleted and recreated with the same names (ex: folder AAA containing the following structure A/AA/AAA/test.txt is deleted and the same structure is re-created with different IDs), then the UpdateTreeWorkers will merge to deleted folder nodes and the newly created folder nodes.
This PR aims to differanciate the node newly created from the ones deleted. Since a node on a deleted branch will have only a DELETE event, we do not insert a node with CREATE event (or any event other that DELETE) as a child of a node with a DELETE event.
If a tree structure is deleted and recreated with the same names (ex: folder AAA containing the following structure A/AA/AAA/test.txt is deleted and the same structure is re-created with different IDs), then the UpdateTreeWorkers will merge to deleted folder nodes and the newly created folder nodes. This PR aims to differanciate the node newly created from the ones deleted. Since a node on a deleted branch will have only a DELETE event, we do not insert a node with CREATE event (or any event other that DELETE) as a child of a node with a DELETE event.