Commit Graph
15 Commits
Author SHA1 Message Date
ChaosMaker d825299e26 - Cleaned up old tests
- Changed `node:buffer` and `node:streams` imports to native `WebWorkers` imports;
- Fixed tests that used old `toPtr` and `fromPtr` functions to use the new NodePointer class methods
- Exposed pointer resolution helper functions to the consumer
2026-11-20 12:22:23 +01:00
ChaosMaker 4fa284de13 - Fixed resolvePath
- Added symlink resolution
- Added mount resolution
- Fixed filesystem not awaiting for disks to be mounted
(now `FileSystem.init()` needs to be called with `await`)
- Removed old test fixture files
- Added a feature-full `resolvePath`test suite

*all tests passing green*
2026-11-10 08:04:57 +01:00
ChaosMaker dd804f6f14 Virtual FileSystem fixed - (Needs unit testing)! 2026-11-09 05:10:44 +01:00
ChaosMaker 849e0e61f5 a lot of mess, keep working on VDisk for now. 2026-09-17 10:32:31 +02:00
ChaosMaker 6bbaaf60e6 minor import fixes - all tests pass 2026-07-28 17:58:13 +02:00
ChaosMaker cd08a4bf32 resolvePath function implemented and tested, all green. 2026-07-26 16:43:39 +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 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 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 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