removeQueryString() — astro Function Reference
Architecture documentation for the removeQueryString() function in path.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 2621cbdc_067c_6896_bb48_42acf7feb3e5["removeQueryString()"] f5377c99_3ce3_1abd_148f_93394ff5efe2["path.ts"] 2621cbdc_067c_6896_bb48_42acf7feb3e5 -->|defined in| f5377c99_3ce3_1abd_148f_93394ff5efe2 style 2621cbdc_067c_6896_bb48_42acf7feb3e5 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/internal-helpers/src/path.ts lines 91–94
export function removeQueryString(path: string) {
const index = path.lastIndexOf('?');
return index > 0 ? path.substring(0, index) : path;
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does removeQueryString() do?
removeQueryString() is a function in the astro codebase, defined in packages/internal-helpers/src/path.ts.
Where is removeQueryString() defined?
removeQueryString() is defined in packages/internal-helpers/src/path.ts at line 91.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free