Cooper.Ref.Config (Cooper v0.1.0)

Copy Markdown

An unresolved %{path} config reference (CASC.md §7.3). Lazy -- resolved by Cooper.Resolver only after Cooper.Merge has run, against the fully merged final tree; cycle detection happens there too.

Summary

Types

suffix()

@type suffix() ::
  nil | {:default, term()} | {:substitute, term()} | {:required, String.t()}

t()

@type t() :: %Cooper.Ref.Config{
  index: non_neg_integer() | nil,
  path: [String.t()],
  suffix: suffix()
}