diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-19 11:42:48 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-19 11:42:48 -0300 |
| commit | 71d8744b41dec56d835e30f531b96fede5d610a1 (patch) | |
| tree | 31e2a06fdcfd467d12454cde8be5a477765701b5 /dev/file_watch.zig | |
| parent | eae5736ad923731135dd35b3783c90a3358bd0fa (diff) | |
| parent | 4569aefd55d04f434f2e2ed5e6e4a511a414cdc7 (diff) | |
| download | pardes-71d8744b41dec56d835e30f531b96fede5d610a1.tar.gz pardes-71d8744b41dec56d835e30f531b96fede5d610a1.zip | |
integration: the one client loop that the soak runs, with the tape as the handle a step is given: pardes-runners-b (10b: runtime/client.zig run by the terminal's client, the window's and the soak; a client's clipboard and links its own frontend's; an input sent before it is applied) and pardes-handle-1 (the handle's steps 0 to 2: p.tape, the directory listing and the file system read through the tape they are handed), merged without a conflict; gates in the coordinator's ledger
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'dev/file_watch.zig')
| -rw-r--r-- | dev/file_watch.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dev/file_watch.zig b/dev/file_watch.zig index b2205173..9d868e07 100644 --- a/dev/file_watch.zig +++ b/dev/file_watch.zig @@ -609,7 +609,7 @@ pub fn applyThemeEffect( // What fails here is the ThemeFile write's failure too, which waits on // this (the one-failure rule): late, as a Save's. const pane = request.pane; - const bytes = filesystem.readFile(gpa, request.path) catch |err| { + const bytes = filesystem.readFile(&pardes.tape.none, gpa, request.path) catch |err| { colors.failThemeFile(core, generation, err); core.noteLateFailure(pane); return false; @@ -641,7 +641,7 @@ pub fn reloadTheme( if (comptime builtin.os.tag == .macos) { if (watches[theme_slot]) |*entry| remarkFile(entry, request.path); } - const bytes = filesystem.readFile(gpa, request.path) catch |err| { + const bytes = filesystem.readFile(&pardes.tape.none, gpa, request.path) catch |err| { core.invalidate(); colors.failThemeFile(core, watched.serial, err); return false; |
