gleam_file

File, Directory, and Path handling in Gleam

Documentation

https://hexdocs.pm/gleam_file

Installation

Add gleam_file to your rebar.config dependencies:

{deps, [
    gleam_file
]}.

Quick start

import gleam/file

> file.read_to_bitstring("hi.txt")
Ok(<<"Hello from the contents of hi.txt">>)