Terrasol.Path (Terrasol v2.0.2)

View Source

Handling of Earthstar path strings and the resulting Terrasol.Path.t structures

Summary

Types

t()

An Earthstar path

Functions

Parse an Earthstar path string into a Terrasol.Path

Types

t()

@type t() :: %Terrasol.Path{
  ephemeral: boolean(),
  segments: [String.t()],
  string: String.t(),
  writers: [Terrasol.Author.t()]
}

An Earthstar path

Functions

parse(path)

Parse an Earthstar path string into a Terrasol.Path

:error on invalid input