PlaceDiff

Up and coming: shot check knows this class and its members today, and programs run it once the native runtime lands.

ShotInstancenot creatablecomingRoblox

Up and coming

See exactly what changed between two place files, down to a property, an attribute, a tag or a script line.

RobloxFileService:DiffAsync(before, after) returns one. Added, Removed, Moved and Modified list the instances, each with its path, class and the property, attribute, tag and source changes, and only real, readable properties are compared. It is also how you check what a PlaceCleaner did.

Properties

NameTypeDefaultDescription
Added{ DiffItem }
Removed{ DiffItem }
Moved{ DiffItem }The instances that are the same one under a new parent or name.
Modified{ DiffItem }

Methods

NameArgumentsReturnsDescription
Summary(limit: number?)stringReturns one line per change, written like TreeAsync's lines, with the counts at the top.
ScriptDiff(path: string)string?Returns a unified diff of one script.
From ShotInstance 33