Subgraph.commit

Commits this subgraph into a parent graph.

This is a destructive copy which empties the subgraph being commited. After all nodes have been moved, user code can use a PostHook to export new definitions.

struct Subgraph
@nogc nothrow
commit

Return Value

Type: err_t

Zero on success, non-zero otherwise.