readSavedBuildMetadata() — react Function Reference
Architecture documentation for the readSavedBuildMetadata() function in utils.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD 30acebe4_4ef0_7194_34ab_79f50432352d["readSavedBuildMetadata()"] 5f5d310a_a69e_7956_cd19_7f375a47ea35["utils.js"] 30acebe4_4ef0_7194_34ab_79f50432352d -->|defined in| 5f5d310a_a69e_7956_cd19_7f375a47ea35 style 30acebe4_4ef0_7194_34ab_79f50432352d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
scripts/devtools/utils.js lines 95–107
function readSavedBuildMetadata() {
const path = join(BUILD_METADATA_TEMP_DIRECTORY, 'metadata');
if (!existsSync(path)) {
console.error(chalk.red('Expected to find build metadata at:'));
console.error(chalk.dim(` ${path}`));
process.exit(1);
}
const {archivePath, currentCommitHash} = readJsonSync(path);
return {archivePath, currentCommitHash};
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does readSavedBuildMetadata() do?
readSavedBuildMetadata() is a function in the react codebase, defined in scripts/devtools/utils.js.
Where is readSavedBuildMetadata() defined?
readSavedBuildMetadata() is defined in scripts/devtools/utils.js at line 95.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free