getDataStoreFile() — astro Function Reference
Architecture documentation for the getDataStoreFile() function in content-layer.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 0728250e_c2e6_8d8d_6cd9_7fb9982299e3["getDataStoreFile()"] 3460caba_c22e_57de_8fed_316b77465ef7["content-layer.ts"] 0728250e_c2e6_8d8d_6cd9_7fb9982299e3 -->|defined in| 3460caba_c22e_57de_8fed_316b77465ef7 style 0728250e_c2e6_8d8d_6cd9_7fb9982299e3 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/content/content-layer.ts lines 459–461
export function getDataStoreFile(settings: AstroSettings, isDev: boolean) {
return new URL(DATA_STORE_FILE, isDev ? settings.dotAstroDir : settings.config.cacheDir);
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does getDataStoreFile() do?
getDataStoreFile() is a function in the astro codebase, defined in packages/astro/src/content/content-layer.ts.
Where is getDataStoreFile() defined?
getDataStoreFile() is defined in packages/astro/src/content/content-layer.ts at line 459.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free