rename: src/Formats -> src/Rosetta, @formats -> @rosetta requires, build/luajit/rosetta + rosetta._compat, build/roblox/Rosetta, ROSETTA_* env/globals, writer vendor strings
This commit is contained in:
1 parent
2956576d7f
commit
22ddcd78fa
941 files changed
+3364
-3364
No files matched your search
@@ -1,7 +1,7 @@
|
||||
-- shared by the archive tests: check(t, archive, want, label) compares an Archive's entries with the reference listing
|
||||
-- want = { { name, size?, crc?, mode?, mtime?, dir?, link? } } (only the fields present are compared; every wanted
|
||||
-- entry must exist; crc is the CRC-32 of the data read back), and the files written by _arch2_ours.luau.
|
||||
local Crc32 = require("@formats/core/Crc32")
|
||||
local Crc32 = require("@rosetta/core/Crc32")
|
||||
|
||||
local E = {}
|
||||
|
||||
@@ -53,7 +53,7 @@ E.FILES = {
|
||||
|
||||
-- roundTrip(t, mod, opts, label): add the standard files to mod.new(), write with opts, decode, compare
|
||||
function E.roundTrip(t: any, mod: any, opts: any?, label: string): buffer?
|
||||
local Bytes = require("@formats/core/Bytes")
|
||||
local Bytes = require("@rosetta/core/Bytes")
|
||||
local a = mod.new()
|
||||
for _, f in E.FILES do
|
||||
a:add(f.name, f.data, { mtime = 1700000000, mode = 0x1A4 })
|
||||
|
||||
Reference in new issue
Block a user