Skip to content

testscript: explore addition of io/fs.FS to Params #134

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

myitcv
Copy link
Collaborator

@myitcv myitcv commented Mar 1, 2021

DO NOT SUBMIT

@myitcv myitcv force-pushed the testscript_io_fs_FS branch from 4a83ff8 to 5d7ff47 Compare March 1, 2021 15:36
@myitcv
Copy link
Collaborator Author

myitcv commented Mar 1, 2021

The build failures are as a result of golang/go#40067 (comment). So whilst not directly caused by this change, this change does exacerbate the situation.

@myitcv myitcv force-pushed the testscript_io_fs_FS branch from 5d7ff47 to 589c05e Compare March 2, 2021 14:05
@myitcv
Copy link
Collaborator Author

myitcv commented Mar 2, 2021

Per a quick chat with @mvdan, perhaps a better approach here is to walk the entire io/fs.FS for .txt files, rather than simply globbing at the root. This would work well, because the caller would be entirely in control over what is exposed via the FS.

@myitcv myitcv force-pushed the testscript_io_fs_FS branch from 589c05e to 79f8251 Compare March 12, 2021 11:18
@rogpeppe
Copy link
Owner

This has been sitting around long enough that I think it can be closed. It's not clear exactly what need is being addressed here. Feel free to reopen if needed.

@rogpeppe rogpeppe closed this Jun 10, 2024
@mvdan mvdan deleted the testscript_io_fs_FS branch January 30, 2025 22:29
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.

2 participants