[][src]Module librojo::snapshot_reconciler

Defines the snapshot subsystem of Rojo, which defines a lightweight instance representation (RbxSnapshotInstance) and a system to incrementally update an RbxTree based on snapshots.

Structs

InstanceChanges

Contains all of the IDs that were modified when the snapshot reconciler applied an update.

RbxSnapshotInstance

A lightweight, hierarchical representation of an instance that can be applied to the tree.

Functions

reconcile_subtree

Updates existing instances in an existing RbxTree, potentially adding, updating, or removing children and properties.

reify_root

Constructs a new RbxTree out of a snapshot and places to attach metadata.

reify_subtree

Adds instances to a portion of the given RbxTree, used for when new instances are created.

snapshot_from_tree

Generates an RbxSnapshotInstance from an existing RbxTree and an ID to use as the root of the snapshot.