-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
112 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,20 @@ | ||
# filepath | ||
|
||
Work with file paths in Gleam! | ||
|
||
[![Package Version](https://img.shields.io/hexpm/v/filepath)](https://hex.pm/packages/filepath) | ||
[![Hex Docs](https://img.shields.io/badge/hex-docs-ffaff3)](https://hexdocs.pm/filepath/) | ||
|
||
## Quick start | ||
|
||
```sh | ||
gleam run # Run the project | ||
gleam test # Run the tests | ||
gleam shell # Run an Erlang shell | ||
gleam add filepath | ||
``` | ||
```gleam | ||
import filepath | ||
## Installation | ||
|
||
If available on Hex this package can be added to your Gleam project: | ||
|
||
```sh | ||
gleam add filepath | ||
pub fn main() { | ||
let path = filepath.join("/home/lucy", "pokemon-cards") | ||
// -> "/home/lucy/pokemon-cards" | ||
} | ||
``` | ||
|
||
and its documentation can be found at <https://hexdocs.pm/filepath>. | ||
Documentation can be found here: <https://hexdocs.pm/filepath>. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters