Tree.add

TreeItem add(string path)

Adds an item to the tree by path.

Path components are separated by '/'. Parent items are created automatically if they don't exist.

Parameters

pathPath like "Parent/Child/Item"

Returns

The new item, or null on failure