bigass changes

- ls beginnings,
- added groups to shellstate
- made buffers optional in result factory functions,
- made an enum signal map,
- fixed a minor bug in path resolver that didnt output the '/' if     the inode was at root (inode 0) from the moment it was called

- added code that attaches the shell to the built-in IDE terminal

--

tests need fixing, new code needs testing
This commit is contained in:
2026-08-24 10:30:04 +02:00
parent 48aac3c883
commit dad18cd4cc
14 changed files with 380 additions and 82 deletions
+5
View File
@@ -67,6 +67,11 @@ export function resolveInode(fs: FileSystem, inode: number): string {
components.push(node.name);
currentInode = node.parent;
}
if (components.length === 0) {
components.push("/");
return components.join("");
}
components.reverse();
components.unshift("");
return components.join("/");