- 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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user