Add syncback_encoded_names fixture and related tests for encoded name handling

- Introduced a new fixture `syncback_encoded_names` with various scripts and models demonstrating encoded characters in names, including `What%QUESTION%Module` and `Key%COLON%Script`.
- Added tests to validate the correct handling of encoded names during directory conversions, ensuring that the filesystem names match the expected encoded formats.
- Updated `change_processor.rs` and `api.rs` to improve file handling and metadata management related to encoded names, enhancing overall robustness and consistency in operations.
This commit is contained in:
Joe 2026-02-05 21:12:06 -06:00
parent 1edca38c34
commit 9c92204956
8 changed files with 342 additions and 26 deletions

View file

@ -0,0 +1,10 @@
{
"name": "syncback_encoded_names",
"tree": {
"$className": "DataModel",
"ReplicatedStorage": {
"$className": "ReplicatedStorage",
"$path": "src"
}
}
}

View file

@ -0,0 +1,2 @@
-- Script with encoded : in name
print("encoded script")

View file

@ -0,0 +1,2 @@
-- Normal module without encoded chars
return { normal = true }

View file

@ -0,0 +1,6 @@
{
"className": "Configuration",
"properties": {
"Name": "What?Model"
}
}

View file

@ -0,0 +1,2 @@
-- Module with encoded ? in name
return { encoded = true }