| ... | ... | @@ -103,6 +103,7 @@ pub const CacheHash = struct { |
| 103 | 103 | var cache_hash_file = try self.files.addOne(); |
| 104 | 104 | cache_hash_file.path = try fs.path.resolve(self.alloc, &[_][]const u8{file_path}); |
| 105 | 105 | cache_hash_file.max_file_size = max_file_size; |
| 106 | cache_hash_file.contents = null; |
| 106 | 107 | |
| 107 | 108 | self.addSlice(cache_hash_file.path.?); |
| 108 | 109 | |
| ... | ... | @@ -175,6 +176,7 @@ pub const CacheHash = struct { |
| 175 | 176 | cache_hash_file = try self.files.addOne(); |
| 176 | 177 | cache_hash_file.path = null; |
| 177 | 178 | cache_hash_file.max_file_size = null; |
| 179 | cache_hash_file.contents = null; |
| 178 | 180 | } |
| 179 | 181 | |
| 180 | 182 | var iter = mem.tokenize(line, " "); |
| ... | ... | @@ -301,6 +303,8 @@ pub const CacheHash = struct { |
| 301 | 303 | |
| 302 | 304 | var cache_hash_file = try self.files.addOne(); |
| 303 | 305 | cache_hash_file.path = try fs.path.resolve(self.alloc, &[_][]const u8{file_path}); |
| 306 | cache_hash_file.max_file_size = max_file_size_opt; |
| 307 | cache_hash_file.contents = null; |
| 304 | 308 | |
| 305 | 309 | const contents = try self.populate_file_hash_fetch(otherAlloc, cache_hash_file); |
| 306 | 310 | |