Is it possible to read a file from the file system? #1699
-
I had a quick look at stdlib but found nothing. Thanks :) |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 2 replies
-
I'd suggest joining our community discord for questions: https://discord.gg/twY7ZhKTM3 If you are using Erlang as the server side VM then there is https://github.com/gleam-lang/erlang |
Beta Was this translation helpful? Give feedback.
-
Check out this module in the |
Beta Was this translation helpful? Give feedback.
-
@benjamin-thomas sorry for linking to gh instead of hex.pm latter is usually much more helpful. AFAIR the reason the stdlib does not contain file utilities is platform differences between Erlang and JavaScript. But for |
Beta Was this translation helpful? Give feedback.
-
gleam/erlang/file does not exists how to read file |
Beta Was this translation helpful? Give feedback.
-
It's been removed. Use https://hexdocs.pm/simplifile |
Beta Was this translation helpful? Give feedback.
Check out this module in the
gleam_erlang
packagehttps://hexdocs.pm/gleam_erlang/gleam/erlang/file.html