- fixed a bug in dnTaverseTree where children would get pushed into the result in reverse order

- added an inode display to the `printTree` algorithm

- removed a redundant type in *`signal.ts`*
- improved `resolveInode` to now take `ShellState` instead of `FileSystem` and added an optional `abs` *`boolean`* argument to determine if the retuned path should be normalized or absolute

- implemented a builtin `TreeNode` quicksort function
- changed the `TreeNodeType` to a numeric enum
- added a standalone `Posix` class that holds a const with character weights compliant with posix
This commit is contained in:
2026-08-25 06:34:23 +02:00
parent dad18cd4cc
commit 20718604e4
9 changed files with 294 additions and 30 deletions
+3 -3
View File
@@ -45,7 +45,7 @@ export interface DirectoryNode {
} */
export enum TreeNodeType {
File = "0",
Directory = "1",
//Symlink = "2",
File = 0,
Directory = 1,
//Symlink = 2,
}