| ... | @@ -1,6 +1,5 @@ | ... | @@ -1,6 +1,5 @@ |
| 1 | const Blake3 = @import("crypto.zig").Blake3; | 1 | const Blake3 = @import("crypto.zig").Blake3; |
| 2 | const fs = @import("fs.zig"); | 2 | const fs = @import("fs.zig"); |
| 3 | const File = fs.File; | | |
| 4 | const base64 = @import("base64.zig"); | 3 | const base64 = @import("base64.zig"); |
| 5 | const ArrayList = @import("array_list.zig").ArrayList; | 4 | const ArrayList = @import("array_list.zig").ArrayList; |
| 6 | const debug = @import("debug.zig"); | 5 | const debug = @import("debug.zig"); |
| ... | @@ -39,7 +38,7 @@ pub const CacheHash = struct { | ... | @@ -39,7 +38,7 @@ pub const CacheHash = struct { |
| 39 | blake3: Blake3, | 38 | blake3: Blake3, |
| 40 | manifest_dir: []const u8, | 39 | manifest_dir: []const u8, |
| 41 | manifest_file_path: ?[]const u8, | 40 | manifest_file_path: ?[]const u8, |
| 42 | manifest_file: ?File, | 41 | manifest_file: ?fs.File, |
| 43 | manifest_dirty: bool, | 42 | manifest_dirty: bool, |
| 44 | force_check_manifest: bool, | 43 | force_check_manifest: bool, |
| 45 | files: ArrayList(CacheHashFile), | 44 | files: ArrayList(CacheHashFile), |
| ... | @@ -295,7 +294,7 @@ pub const CacheHash = struct { | ... | @@ -295,7 +294,7 @@ pub const CacheHash = struct { |
| 295 | } | 294 | } |
| 296 | }; | 295 | }; |
| 297 | | 296 | |
| 298 | fn hash_file(alloc: *Allocator, bin_digest: []u8, handle: *const File) !void { | 297 | fn hash_file(alloc: *Allocator, bin_digest: []u8, handle: *const fs.File) !void { |
| 299 | var blake3 = Blake3.init(); | 298 | var blake3 = Blake3.init(); |
| 300 | var in_stream = handle.inStream().stream; | 299 | var in_stream = handle.inStream().stream; |
| 301 | | 300 | |