gleam/path

Types

pub type Path {
  Absolute(segments: List(String))
  Relative(segments: List(String))
}

Constructors

  • Absolute(segments: List(String))
  • Relative(segments: List(String))
pub type PathFilter {
  Up
  Skip
  Include
}

Constructors

  • Up
  • Skip
  • Include

Functions

pub fn from_string(base: String) -> Path
pub fn join(path: Path, piece: String) -> Path
pub fn normalize(messy: String) -> String
pub fn to_string(path: Path) -> String
Search Document