executableIsAvailable() — react Function Reference
Architecture documentation for the executableIsAvailable() function in download-build-artifacts.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD ce370be0_eacd_6d81_bccf_c0c98c073221["executableIsAvailable()"] b7e2774f_9b65_2f26_1d36_abceee1db3ae["download-build-artifacts.js"] ce370be0_eacd_6d81_bccf_c0c98c073221 -->|defined in| b7e2774f_9b65_2f26_1d36_abceee1db3ae 4291e1a8_d44d_9d02_52de_aac73fe34e49["processArtifact()"] 4291e1a8_d44d_9d02_52de_aac73fe34e49 -->|calls| ce370be0_eacd_6d81_bccf_c0c98c073221 style ce370be0_eacd_6d81_bccf_c0c98c073221 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
scripts/release/shared-commands/download-build-artifacts.js lines 25–32
async function executableIsAvailable(name) {
try {
await exec(`which ${name}`);
return true;
} catch (_error) {
return false;
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does executableIsAvailable() do?
executableIsAvailable() is a function in the react codebase, defined in scripts/release/shared-commands/download-build-artifacts.js.
Where is executableIsAvailable() defined?
executableIsAvailable() is defined in scripts/release/shared-commands/download-build-artifacts.js at line 25.
What calls executableIsAvailable()?
executableIsAvailable() is called by 1 function(s): processArtifact.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free