Pipette.ScopeRef (Pipette v0.5.1)

Copy Markdown View Source

A reference to a named scope within a group.

Created by the scope/1,2 call inside a group block:

group :deploy do
  scope(:web_code)                          # simple binding
  scope(:web_code, ignore_global: true)     # opt out of scopes: :all
end

Fields

  • :name (atom()) — the scope name to bind to (must match a top-level scope definition)
  • :ignore_global (boolean()) — when true, the parent group is excluded from scopes: :all branch policy activation and falls back to file-based scope detection. Defaults to false.

Summary

Types

t()

@type t() :: %Pipette.ScopeRef{
  __identifier__: term(),
  __spark_metadata__: term(),
  ignore_global: boolean(),
  name: atom()
}