- Fixed output formatting error in ls.ts

- Added an exported `Termos` object entry point
- Defined a basic config for the entry point
- Wrote a self contained initialization function for parsin the config into a returned `Shell` instance
- Adjusted `dev.ts` to use the said entry point
This commit is contained in:
2026-11-16 12:16:49 +01:00
parent d4ec6b0c49
commit 2f25e44681
8 changed files with 236 additions and 102 deletions
+2 -2
View File
@@ -384,7 +384,7 @@ export class FileSystem {
}
| { type: NodeType.Directory; mode: number; owner: number; group: number }
| { type: NodeType.Symlink; mode: number; owner: number; group: number; target: string },
) {
): Promise<number> {
const pdev = this._VDiskManager.getDisk(parent.device);
const parentNode = this.resolveNode(parent);
@@ -436,7 +436,7 @@ export class FileSystem {
} satisfies InvalidNodeNameError;
}
await pdev.createNodeEntry(parent.inode, name, data);
return pdev.createNodeEntry(parent.inode, name, data);
}
public async deleteNode(target: NodePointer) {