Update to use Io where appropriate#44
Merged
prajwalch merged 2 commits intoprajwalch:mainfrom Jan 1, 2026
Merged
Conversation
The lastest master moved a lot of functions from std.fs to under std.Io, and requires a std.Io instance to be passed around. This does a direct mapping from the old funcitons to the new functions, and uses a locally defined single threaded io out of convenience. Maybe not the most ideal way to do it, but it seems like the easiest way to make sure it keeps compiling.
Collaborator
Author
|
|
This is a breaking API change, but I think it makes sense in the context of the Io changes. It adds an Io argument to functions that call other functions that require an io value.
Collaborator
Author
|
Tests are passing, but my application that uses the library ran into another issue. I solved that (see the force push), but should take a solid look before merging. |
Owner
|
Hi, thanks for keeping it up-to-date. I don't write Zig much these days so I need someone who can takeover the project. Would you like to collab? |
Collaborator
Author
|
Sure, happy to help! |
Owner
|
Great. I have sent you a invitation request. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The lastest master moved a lot of functions from std.fs to under std.Io, and requires a std.Io instance to be passed around. This does a direct mapping from the old funcitons to the new functions, and uses a locally defined single threaded io out of convenience. Maybe not the most ideal way to do it, but it seems like the easiest way to make sure it keeps compiling.