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

Feature request: Pages.Script.writeFileBinary/BackendTask.File.rawBinary #439

Open
miniBill opened this issue Nov 14, 2023 · 2 comments
Open

Comments

@miniBill
Copy link
Contributor

I'd love to have a way to read and Bytes off files. I think the simplest API that covers most use cases would be to just have writeFileBinary (taking Bytes as body) and rawBinary (returning a BackendTask ... Bytes).

My use case is working with images. In particular, I'd love to move the code that I currently have to codegen the list of images from bash/Makefile to Elm itself.

@miniBill
Copy link
Contributor Author

I'm also open to "PRs welcome" as a conclusion of the discussion

@miniBill
Copy link
Contributor Author

The read part is addressed in #458

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