Skip to content

lpil/filepath

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

filepath

Work with file paths in Gleam!

Package Version Hex Docs

This package works on both Unix and Windows systems, and can run on both Erlang or JavaScript runtimes.

gleam add filepath
import filepath

pub fn main() {
  let path = filepath.join("/home/lucy", "pokemon-cards")
  // -> "/home/lucy/pokemon-cards"
}

Documentation can be found here: https://hexdocs.pm/filepath.