Skip to content

Conversation

@firelizzard18
Copy link

Closes #3954. Adds InputFS io/fs.FS which allows the caller to provide a filesystem that input files will be read from.

Though it actually uses internal/io_fs because importing io/fs would break compatibility with versions earlier than Go 1.16. The shim for earlier versions is not intended to be implementable; if a caller wishes to pass in an io/fs.FS, that caller should use Go 1.16 or newer.

@firelizzard18
Copy link
Author

firelizzard18 commented Aug 21, 2025

I resolved the conflict

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support using a fs.FS for input and output files

2 participants