summaryrefslogtreecommitdiff
path: root/src/dump.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/dump.zig')
-rw-r--r--src/dump.zig4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dump.zig b/src/dump.zig
index 4194f628..983d5894 100644
--- a/src/dump.zig
+++ b/src/dump.zig
@@ -209,6 +209,10 @@ pub const File = struct {
content: []const u8 = "",
content_b64: []const u8 = "",
dirty: bool = false,
+ /// Its file was on disk when dumped: one gone by the Restore is said
+ /// deleted, one never written (Config's new file) is not. True in
+ /// older dumps.
+ on_disk: bool = true,
tree_context: bool = false,
location_rows: []const LocationRow = &.{},
// Builtin names remain stable when enum ordinals change.