fromMap() — astro Function Reference
Architecture documentation for the fromMap() function in mutable-data-store.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 29d3d61f_52dd_6593_ded5_0d3ab95005c7["fromMap()"] ecb98618_124a_e276_dd98_561beaedc6ea["MutableDataStore"] 29d3d61f_52dd_6593_ded5_0d3ab95005c7 -->|defined in| ecb98618_124a_e276_dd98_561beaedc6ea 9bdd2670_f40d_7389_5a7d_328dbdd3a93f["fromModule()"] 9bdd2670_f40d_7389_5a7d_328dbdd3a93f -->|calls| 29d3d61f_52dd_6593_ded5_0d3ab95005c7 b9b63c11_6a4e_7397_8529_58f75e95637b["fromString()"] b9b63c11_6a4e_7397_8529_58f75e95637b -->|calls| 29d3d61f_52dd_6593_ded5_0d3ab95005c7 style 29d3d61f_52dd_6593_ded5_0d3ab95005c7 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/content/mutable-data-store.ts lines 420–424
static async fromMap(data: Map<string, Map<string, any>>) {
const store = new MutableDataStore();
store._collections = data;
return store;
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does fromMap() do?
fromMap() is a function in the astro codebase, defined in packages/astro/src/content/mutable-data-store.ts.
Where is fromMap() defined?
fromMap() is defined in packages/astro/src/content/mutable-data-store.ts at line 420.
What calls fromMap()?
fromMap() is called by 2 function(s): fromModule, fromString.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free