Commit Graph
18 Commits
Author SHA1 Message Date
ChaosMaker a67d060fc6 more work on the parser, still misbehaving, needs more testing and refactoring later 2026-07-23 16:29:59 +02:00
ChaosMaker cab18b74cf phase 3 2026-07-22 21:31:55 +02:00
ChaosMaker 0a477855c7 - Added a FileSystemInitializationError.
- Changed the static init method to check basic schema (root format and existence) before returning.

- Added getRoot method that throws generic Error if inode 0 doesnt resolve.
2026-07-22 14:28:50 +02:00
ChaosMaker 2affb3ceb2 fixed bug in moveNode where when renaming, the old record about the renamed node would still be present in the children record of the parent 2026-07-21 17:06:02 +02:00
ChaosMaker f2d2186086 added a helper to tests for one-liner error matching in unit tests. fixed bugs in tests after the tree fixture changed 2026-07-21 15:48:07 +02:00
ChaosMaker 7cf60208e0 moveNode tests written, 1 fails, need to check for bugs 2026-07-21 04:26:19 +02:00
ChaosMaker 46f9e05d63 upTreeTraversal finished, fixed a bug in fixture parser where every node had parent set to 0
unfinished test that checks agains that error
2026-07-20 18:15:50 +02:00
ChaosMaker e89cec47d9 upTraverseTree algo implementation start, doesnt work currently. basic test of the function written 2026-07-20 15:21:50 +02:00
ChaosMaker c7dc8f6c37 timestamps accounted for in modifyNode tests. All green 2026-07-20 12:58:46 +02:00
ChaosMaker 9bf481cc33 modifyNode tests wiritten, all passing 2026-07-20 00:31:41 +02:00
ChaosMaker 9f23e5a86a small fixes to filesystem and modifyNode method implemented (untested) 2026-07-19 12:30:57 +02:00
ChaosMaker 15bd160254 no trash in this codebase 2026-07-19 09:30:56 +02:00
ChaosMaker 04b66fa62a Phase 1 Recursive DFS pre-order algorithm, tree print helper for visualizing tree structures, filesystem test fixture builder helper function.
deleteNode fully implemented,

test suite implemented
2026-07-19 09:30:08 +02:00
ChaosMaker b6365d6221 some small work on the filesystem class 2026-07-16 13:19:27 +02:00
ChaosMaker ea82327ee8 createNode method implemented, canRead,
canWrite,
canExecute methods implemented

common FileSystem error types implemented,

unit tests written and passing for filesystem initialization, createNode cases and permission methods
2026-07-15 16:28:41 +02:00
ChaosMaker 134d989f6e minor changes, launch.json for IDE with Test and Debug 2026-07-14 14:17:47 +02:00
ChaosMaker 3d96ad3c6d Phase 0 - basic shell data shapes, simple test suite, workspace configuration 2026-07-07 04:47:13 +02:00
ChaosMaker bae24e53ca Initial commit 2026-07-06 23:51:50 +02:00