Skip to content

Commit

Permalink
v0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
BENJAMIN PEINHARDT committed Nov 16, 2023
1 parent 8945f38 commit bbfbee0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Changelog

## Unreleased

## v0.4.0 - 15 November 2023
- Renamed `list_contents` to `read_directory`
- Added `get_files`

Expand Down
11 changes: 3 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
Simplifile provides basic file operations (read, write, append, and delete) that work
for all targets (Erlang, Node, and Deno). It also provides functions for working with directories.

Note: this library is evolving rapidly to get it ready for v1 status. When upgrading versions,
be sure to check the changelog.

## Example
```gleam
let filepath = "./test/hello.txt"
Expand All @@ -16,14 +19,6 @@ let assert Ok(_) = delete(filepath)
let assert Error(_) = read(from: filepath)
```

## Quick start

```sh
gleam run # Run the project
gleam test # Run the tests
gleam shell # Run an Erlang shell
```

## Installation

If available on Hex this package can be added to your Gleam project:
Expand Down
2 changes: 1 addition & 1 deletion gleam.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name = "simplifile"
version = "0.3.0"
version = "0.4.0"
description = "Basic file operations that work on all targets"

licences = ["Apache-2.0"]
Expand Down

0 comments on commit bbfbee0

Please sign in to comment.