clearAll() — astro Function Reference
Architecture documentation for the clearAll() function in mutable-data-store.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD d05bc76d_a29e_4916_8686_93bba2b13bfd["clearAll()"] ecb98618_124a_e276_dd98_561beaedc6ea["MutableDataStore"] d05bc76d_a29e_4916_8686_93bba2b13bfd -->|defined in| ecb98618_124a_e276_dd98_561beaedc6ea 70d207ce_27e5_2bdf_8c16_f5599477168b["clear()"] d05bc76d_a29e_4916_8686_93bba2b13bfd -->|calls| 70d207ce_27e5_2bdf_8c16_f5599477168b style d05bc76d_a29e_4916_8686_93bba2b13bfd fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/content/mutable-data-store.ts lines 58–61
clearAll() {
this._collections.clear();
this.#saveToDiskDebounced();
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does clearAll() do?
clearAll() is a function in the astro codebase, defined in packages/astro/src/content/mutable-data-store.ts.
Where is clearAll() defined?
clearAll() is defined in packages/astro/src/content/mutable-data-store.ts at line 58.
What does clearAll() call?
clearAll() calls 1 function(s): clear.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free