diff options
| author | Linus Groh <mail@linusgroh.de> | 2023-05-20 23:06:42 +0100 |
|---|---|---|
| committer | Linus Groh <mail@linusgroh.de> | 2023-05-25 20:17:07 +0100 |
| commit | 4159add4abe92e903d8797a005344d8325def2fc (patch) | |
| tree | a18989d582306738a92706b1d5cfc846d229ad11 /tools/process_headers.zig | |
| parent | e96de1b63688d3a92932fe4afdfe37dbe2315f53 (diff) | |
| download | zig-4159add4abe92e903d8797a005344d8325def2fc.tar.gz zig-4159add4abe92e903d8797a005344d8325def2fc.zip | |
std.fs.file: Rename File.Kind enum values to snake case
Diffstat (limited to 'tools/process_headers.zig')
| -rw-r--r-- | tools/process_headers.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/process_headers.zig b/tools/process_headers.zig index 0321c0e0eb..b93cd07a2c 100644 --- a/tools/process_headers.zig +++ b/tools/process_headers.zig @@ -393,8 +393,8 @@ pub fn main() !void { while (try dir_it.next()) |entry| { const full_path = try std.fs.path.join(allocator, &[_][]const u8{ full_dir_name, entry.name }); switch (entry.kind) { - .Directory => try dir_stack.append(full_path), - .File => { + .directory => try dir_stack.append(full_path), + .file => { const rel_path = try std.fs.path.relative(allocator, target_include_dir, full_path); const max_size = 2 * 1024 * 1024 * 1024; const raw_bytes = try std.fs.cwd().readFileAlloc(allocator, full_path, max_size); |
