wand_core v0.3.2 WandCore.WandFile.Dependency View Source

A dependency describes the information for a specific mix dependency, including its name, requirement string, and any options See WandCore.WandFile for more information.

Link to this section Summary

Functions

Determine if the dependency is referring to a hex repository, a git repository, or a local path

Link to this section Types

Link to this type requirement() View Source
requirement() :: String.t() | nil
Link to this type source() View Source
source() :: :hex | :git | :path
Link to this type t() View Source
t() :: %WandCore.WandFile.Dependency{
  name: String.t(),
  opts: WandCore.Opts.t(),
  requirement: requirement()
}

Link to this section Functions

Link to this function source(dependency) View Source
source(t()) :: source()

Determine if the dependency is referring to a hex repository, a git repository, or a local path