Home / Function/ printSummary() — react Function Reference

printSummary() — react Function Reference

Architecture documentation for the printSummary() function in download-experimental-build.js from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  3fe5f1ab_f23f_87b7_38a1_4892a7ea361f["printSummary()"]
  24ad8295_4741_4cbb_de38_8685cfffcbe3["download-experimental-build.js"]
  3fe5f1ab_f23f_87b7_38a1_4892a7ea361f -->|defined in| 24ad8295_4741_4cbb_de38_8685cfffcbe3
  a906dc44_a0f7_076c_5c40_4e8e8e21129d["main()"]
  a906dc44_a0f7_076c_5c40_4e8e8e21129d -->|calls| 3fe5f1ab_f23f_87b7_38a1_4892a7ea361f
  style 3fe5f1ab_f23f_87b7_38a1_4892a7ea361f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

scripts/release/download-experimental-build.js lines 38–54

function printSummary(commit) {
  const commandPath = relative(
    process.env.PWD,
    join(__dirname, '../download-experimental-build.js')
  );

  clear();

  const message = theme`
    {caution An experimental build has been downloaded!}

    You can download this build again by running:
    {path   ${commandPath}} --commit={commit ${commit}}
  `;

  console.log(message.replace(/\n +/g, '\n').trim());
}

Domain

Subdomains

Called By

Frequently Asked Questions

What does printSummary() do?
printSummary() is a function in the react codebase, defined in scripts/release/download-experimental-build.js.
Where is printSummary() defined?
printSummary() is defined in scripts/release/download-experimental-build.js at line 38.
What calls printSummary()?
printSummary() is called by 1 function(s): main.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free