Commit Graph
32 Commits
Author SHA1 Message Date
cozis 43ed0cfc9e node: Implement Node.sleep via Scheduler.sleep 2026-05-23 18:47:58 +02:00
cozis d51503065f build: Add sleep.zig to build.zig 2026-05-23 18:47:25 +02:00
cozis f8230f9856 examples: Add program that uses Io.sleep 2026-05-23 18:47:00 +02:00
cozis b090bca3c7 io_interface: Implement mock for dirRead 2026-05-23 18:32:38 +02:00
cozis 11cc280043 node: Expose resetDir and readDir from FileSystem 2026-05-23 18:32:07 +02:00
cozis 05bd6d0d67 file_system: Implement resetDir to reset the state of an OpenDir 2026-05-23 18:31:07 +02:00
cozis fd4648123d build: Add list_dir.zig to build.zig 2026-05-23 18:30:21 +02:00
cozis f935d15b78 examples: Add example that perform directory listing 2026-05-23 18:30:00 +02:00
cozis f497eaf131 io_interface: Implement mocks for dirDeleteFile and dirDeleteDir 2026-05-23 18:18:48 +02:00
cozis 6280a9fa3a node: Expose deleteFile and deleteDir from the FileSystem object 2026-05-23 18:18:03 +02:00
cozis 4603544007 file_system: Remove deleteAny, add deleteDir and deleteFile 2026-05-23 18:15:48 +02:00
cozis 423f7fdda0 build: Add delete_dir.zig to build.zig 2026-05-23 18:14:38 +02:00
cozis 2bd8d1b842 examples: Add example that deletes a directory 2026-05-23 18:14:23 +02:00
cozis 4449516dca build: Add delete_file.zig example to build.zig 2026-05-23 18:09:57 +02:00
cozis 8acd7cdcb0 examples: Add example that deletes a file 2026-05-23 18:09:34 +02:00
cozis a0acdb9588 io_interface: Implement mocks for dirCreateDir, dirOpenDir, dirClose 2026-05-23 17:55:27 +02:00
cozis a30507a267 build: Add directories.zig to build.zig 2026-05-23 17:54:13 +02:00
cozis 89cdc1a1e3 examples: Implement directories.zig, an example that uses directory operations 2026-05-23 17:53:43 +02:00
cozis 62ae2490d3 node: Implement openDir and createDir to expose FileSystem.openDir and FileSystem.createDir 2026-05-23 17:52:07 +02:00
cozis 06cfc63036 build: Add read_file.zig to the build step 2026-05-23 17:46:38 +02:00
cozis 47cf1a9336 io_interface: Implement mocks for dirOpenFile, fileLength, fileClose, fileReadPositional 2026-05-23 17:46:12 +02:00
cozis b63f9168b8 examples: Implement example that triggers the dirOpenFile mock 2026-05-23 17:44:01 +02:00
cozis d2ec7d68be build: Add "zig build examples" command to build all examples 2026-05-23 17:28:28 +02:00
cozis fe0f3c671d examples: Add an example that uses the dirCreateFile mock 2026-05-23 17:24:10 +02:00
cozis bfa17458d9 io_interface: Implement mock of dirCreateFile 2026-05-23 17:22:25 +02:00
cozis 3bef125023 build: Add missing b.installArtifact 2026-05-23 17:22:02 +02:00
cozis f50f17f1e0 simulator: Implement Simulator.dumpFiles to easily inspect the in-memory file system's state 2026-05-23 17:13:39 +02:00
cozis c2c7a3ac83 simulator: Add basic test for the clock 2026-05-22 11:07:16 +02:00
cozis c663ed56f0 io_interface: Added a mock for now() which simply returns the scheduler's time regardless of the specified clock 2026-05-22 10:44:28 +02:00
cozis d920e2c516 Add run option to the build.zig 2026-05-21 21:49:14 +02:00
cozis 9d1759fb87 Add build.zig to build an example 2026-05-21 21:42:15 +02:00
cozis 6f14bec123 First commit 2026-05-21 21:31:17 +02:00