globWithUnderscoresIgnored() — astro Function Reference
Architecture documentation for the globWithUnderscoresIgnored() function in utils.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 681405dc_44fb_0b21_802d_47dcdc4e75da["globWithUnderscoresIgnored()"] 7a09e708_c090_71c0_8138_7343699b1865["utils.ts"] 681405dc_44fb_0b21_802d_47dcdc4e75da -->|defined in| 7a09e708_c090_71c0_8138_7343699b1865 9f7b1f5d_6264_645b_77b9_79aaa945256d["autogenerateCollections()"] 9f7b1f5d_6264_645b_77b9_79aaa945256d -->|calls| 681405dc_44fb_0b21_802d_47dcdc4e75da bf8a78bc_3533_8dd5_4471_47636ba6ae6e["getExtGlob()"] 681405dc_44fb_0b21_802d_47dcdc4e75da -->|calls| bf8a78bc_3533_8dd5_4471_47636ba6ae6e style 681405dc_44fb_0b21_802d_47dcdc4e75da fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/content/utils.ts lines 847–855
function globWithUnderscoresIgnored(relContentDir: string, exts: string[]): string[] {
const extGlob = getExtGlob(exts);
const contentDir = relContentDir.length > 0 ? appendForwardSlash(relContentDir) : relContentDir;
return [
`${contentDir}**/*${extGlob}`,
`!${contentDir}**/_*/**/*${extGlob}`,
`!${contentDir}**/_*${extGlob}`,
];
}
Domain
Subdomains
Defined In
Calls
Called By
Source
Frequently Asked Questions
What does globWithUnderscoresIgnored() do?
globWithUnderscoresIgnored() is a function in the astro codebase, defined in packages/astro/src/content/utils.ts.
Where is globWithUnderscoresIgnored() defined?
globWithUnderscoresIgnored() is defined in packages/astro/src/content/utils.ts at line 847.
What does globWithUnderscoresIgnored() call?
globWithUnderscoresIgnored() calls 1 function(s): getExtGlob.
What calls globWithUnderscoresIgnored()?
globWithUnderscoresIgnored() is called by 1 function(s): autogenerateCollections.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free