Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commit3bb1da2647

README.md

tree

Path + tree shaping for runtime_data's hierarchical, slash-keyed store. Pure over a flat { [path] = rawValue } map: splitPath, normPrefix, hasPrefix, and reconstructTree carry no store dependency, so the reconstruction is testable without a live world.

reconstructTree(list, prefix, decode) rebuilds the value at and under prefix. Descendant rows (keyed under prefix/) form a nested table; a value stored exactly at prefix is the base, with descendant leaves overriding matching keys; a lone scalar at prefix is returned directly. decode(raw) turns a stored raw value into its Luau value.