pub fn deinit(self: *File, gpa: Allocator) void
self: *File
gpa: Allocator
176 177 178 179 180 181 182 183
pub fn deinit(self: *File, gpa: Allocator) void { gpa.free(self.prefixed_path.sub_path); if (self.contents) |contents| { gpa.free(contents); self.contents = null; } self.* = undefined; }