Sobeston / zig.guide

Repo for https://zig.guide content. Get up to speed with Zig quickly.
https://zig.guide
MIT License
688 stars 178 forks source link

Update 03.filesystem-make-dir-iterable.zig #217

Closed majyc closed 7 months ago

majyc commented 8 months ago

cwd() no longer has method openIterableDir, instead that is handled by passing .iterate = True as a parameter to the openDir, in addition the resulting object is a plain dir, so calls should be to createFile, not .dirCreateFile.

Sobeston commented 7 months ago

https://zig.guide is currently targeted for 0.11, leaving this PR on hold until 0.12 comes

Sobeston commented 7 months ago

closed in favour of https://github.com/Sobeston/zig.guide/commit/76423a7308bc99acadae0dc30f0e3a0e6d189100