mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 14:01:37 +00:00
Update syncback feature to handle instance pulling from Studio
- Updated the `ServeSession` to implement logic for pulling instances that exist in Studio but not in Rojo's filesystem, creating appropriate files during sync confirmation. - Introduced a new `encodeInstance` function to serialize Studio instances for transmission, supporting all instance types. - Modified the `PatchTree` to allow explicit user selection for push/pull/skip actions, enhancing user control during sync operations. - Added tests for the new encoding functionality and updated existing tests to ensure proper behavior with the new syncback logic.
This commit is contained in:
parent
ace839e46f
commit
c7cddb72c2
15 changed files with 3534 additions and 39 deletions
2
rojo-test/serve-tests/syncback_write/src/existing.luau
Normal file
2
rojo-test/serve-tests/syncback_write/src/existing.luau
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
-- Existing module for testing
|
||||
return {}
|
||||
Loading…
Add table
Add a link
Reference in a new issue