Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

State Modification

Fields Modified During This Stage

FieldOperationValuePurpose
all_depsSetAll resolved dependenciesComplete dep list
deps_to_buildSetFiltered dependency listDeps needing compilation
lockUpdatedLock entriesFor writing to rebar.lock
{locks, default}SetSaved lock dataLock file contents
code_paths (all_deps key)SetDep ebin directoriesFor compilation phase

Dependency Information Stored

Each dependency (rebar_app_info:t()) contains:

  • name: Dependency name
  • source: Where it comes from (Hex, Git, etc.)
  • dep_level: Depth in dependency tree (0 = direct)
  • dir: Source directory
  • out_dir: Build output directory
  • is_checkout: Whether it's a checkout dependency
  • is_lock: Whether from lock file
  • deps: Transitive dependencies