choire

Types

pub type Dep {
  Dep(name: DepName, version: DepVersion)
}

Constructors

  • Dep(name: DepName, version: DepVersion)
pub type DepMap =
  dict.Dict(Package, List(Dep))
pub type DepName {
  DepName(String)
}

Constructors

  • DepName(String)
pub type DepVersion {
  DepVersion(String)
}

Constructors

  • DepVersion(String)
pub type Error {
  FileError(simplifile.FileError)
  ParseError(tom.ParseError)
}

Constructors

  • FileError(simplifile.FileError)
  • ParseError(tom.ParseError)
pub type InvDepMap =
  dict.Dict(DepName, List(#(Package, DepVersion)))
pub type Package {
  Package(gleam_toml_path: String, manifest_toml_path: String)
}

Constructors

  • Package(gleam_toml_path: String, manifest_toml_path: String)
pub type VersionMismatch {
  VersionMismatch(
    package_a: String,
    package_b: String,
    dep_name: DepName,
  )
}

Constructors

  • VersionMismatch(
      package_a: String,
      package_b: String,
      dep_name: DepName,
    )

Values

pub fn dep_name_to_string(name: DepName) -> String
pub fn dep_version_to_string(version: DepVersion) -> String
pub fn main() -> Nil
pub fn run(path: String) -> Nil
Search Document