Skip to content
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

✨ [Go] Built-in support for converting fs.FS into Directory #7405

Open
GreenCappuccino opened this issue May 17, 2024 · 0 comments
Open

✨ [Go] Built-in support for converting fs.FS into Directory #7405

GreenCappuccino opened this issue May 17, 2024 · 0 comments

Comments

@GreenCappuccino
Copy link

What are you trying to do?

fs.FS is a common interface for filesystems in Go. Copying files from an FS currently requires authors to walk through the filesystems and add the files into the Directory. (For example, as in here, and described here) A built-in conversion function can simplify this process.

Why is this important to you?

Since this is a relatively common need, it could be worth putting into the Go SDK.

How are you currently working around this?

Implementing the same walk operation.

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

No branches or pull requests

1 participant