- moved uint8array concat and split functions to their own files

- fixed an error in the cd command as a result of a previous improvement
This commit is contained in:
2026-08-30 08:38:05 +02:00
parent f1b69bb282
commit d0f8376244
7 changed files with 58 additions and 69 deletions
+3 -1
View File
@@ -33,7 +33,9 @@ const DirectoryNodeSchema = z.object({
const TreeNodeSchema = z.union([FileNodeSchema, DirectoryNodeSchema]);
export function serializeFileSystem() {}
/* export function serializeFileSystem(map: ReadonlyMap<number, TreeNode | null>): string {
} */
export function deserializeFileSystem(json: string): ReadonlyMap<number, TreeNode> {
const raw = JSON.parse(json);