getChecksumForCurrentRevision() — react Function Reference
Architecture documentation for the getChecksumForCurrentRevision() function in utils.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD 29398a88_1aec_ee92_158b_70f085c7af23["getChecksumForCurrentRevision()"] 9ef9efb0_edfe_575a_20d0_9f1277d0f69a["utils.js"] 29398a88_1aec_ee92_158b_70f085c7af23 -->|defined in| 9ef9efb0_edfe_575a_20d0_9f1277d0f69a ec6c56c1_6dd5_95fc_9524_0690c804875e["getBuildInfo()"] ec6c56c1_6dd5_95fc_9524_0690c804875e -->|calls| 29398a88_1aec_ee92_158b_70f085c7af23 style 29398a88_1aec_ee92_158b_70f085c7af23 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
scripts/release/utils.js lines 89–96
const getChecksumForCurrentRevision = async cwd => {
const packagesDir = join(cwd, 'packages');
const hashedPackages = await hashElement(packagesDir, {
encoding: 'hex',
files: {exclude: ['.DS_Store']},
});
return hashedPackages.hash.slice(0, 7);
};
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does getChecksumForCurrentRevision() do?
getChecksumForCurrentRevision() is a function in the react codebase, defined in scripts/release/utils.js.
Where is getChecksumForCurrentRevision() defined?
getChecksumForCurrentRevision() is defined in scripts/release/utils.js at line 89.
What calls getChecksumForCurrentRevision()?
getChecksumForCurrentRevision() is called by 1 function(s): getBuildInfo.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free