metaStore() — astro Function Reference
Architecture documentation for the metaStore() function in mutable-data-store.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 6b11ff6e_f913_32c0_d605_318d04c32b6b["metaStore()"] ecb98618_124a_e276_dd98_561beaedc6ea["MutableDataStore"] 6b11ff6e_f913_32c0_d605_318d04c32b6b -->|defined in| ecb98618_124a_e276_dd98_561beaedc6ea 0387bc4c_3a64_034b_f25c_ea4d3808bd47["set()"] 6b11ff6e_f913_32c0_d605_318d04c32b6b -->|calls| 0387bc4c_3a64_034b_f25c_ea4d3808bd47 style 6b11ff6e_f913_32c0_d605_318d04c32b6b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/content/mutable-data-store.ts lines 363–371
metaStore(collectionName = ':meta'): MetaStore {
const collectionKey = `meta:${collectionName}`;
return {
get: (key: string) => this.get(collectionKey, key),
set: (key: string, data: string) => this.set(collectionKey, key, data),
delete: (key: string) => this.delete(collectionKey, key),
has: (key: string) => this.has(collectionKey, key),
};
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does metaStore() do?
metaStore() is a function in the astro codebase, defined in packages/astro/src/content/mutable-data-store.ts.
Where is metaStore() defined?
metaStore() is defined in packages/astro/src/content/mutable-data-store.ts at line 363.
What does metaStore() call?
metaStore() calls 1 function(s): set.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free