summaryrefslogtreecommitdiff
path: root/src/fs.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-27 21:24:58 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:14 -0300
commit7d78a880201d25b8e7b9de1f7bd22199f92a2705 (patch)
tree4fc5a2b0202dd29a49b758bb2593bd05073c00bd /src/fs.zig
parent2f3f8776613ebb357ff6458267c3d79c79944968 (diff)
downloadpardes-7d78a880201d25b8e7b9de1f7bd22199f92a2705.tar.gz
pardes-7d78a880201d25b8e7b9de1f7bd22199f92a2705.zip
Move the File namespace out of panes.zig into File.zig
Pure move: the body of `pub const File = struct { ... }` is now the file File.zig, dedented, with the imports it uses; panes.zig keeps `pub const File = @import("File.zig");`, so `panes.File.x` callers and the `File.State` field of Pane are unchanged. File.zig joins the embedded source list. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/fs.zig')
-rw-r--r--src/fs.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fs.zig b/src/fs.zig
index e6ebddf2..8ed6fc77 100644
--- a/src/fs.zig
+++ b/src/fs.zig
@@ -36,6 +36,7 @@ else
const source_files = [_]Source{
.{ .path = "src/pardes.zig", .contents = @embedFile("pardes.zig") },
.{ .path = "src/panes.zig", .contents = @embedFile("panes.zig") },
+ .{ .path = "src/File.zig", .contents = @embedFile("File.zig") },
.{ .path = "src/Output.zig", .contents = @embedFile("Output.zig") },
.{ .path = "src/Mini.zig", .contents = @embedFile("Mini.zig") },
.{ .path = "src/image.zig", .contents = @embedFile("image.zig") },