}
else if (isFlagSet(CREATED))
{
// add newly created nodes to parents.
InternalNode parent = lookupParent(fqn, ctx, container);
parent.addChild(node, true); // we know this is safe since we calculated the parent from the child. No need to have the parent re-do checks when adding the child again.
}
else
{
// Only content has been updated, just update refs.
updateNode(fqn, ctx, container);