appendForwardSlash() — astro Function Reference
Architecture documentation for the appendForwardSlash() function in index.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 4d3f14a1_dd47_c6ba_2113_18491f2e7faa["appendForwardSlash()"] 1be97932_632b_c693_3537_b60cd384a0f5["index.ts"] 4d3f14a1_dd47_c6ba_2113_18491f2e7faa -->|defined in| 1be97932_632b_c693_3537_b60cd384a0f5 86fcdfff_881d_020c_7dbc_274b2f42a55d["createPlugin()"] 86fcdfff_881d_020c_7dbc_274b2f42a55d -->|calls| 4d3f14a1_dd47_c6ba_2113_18491f2e7faa style 4d3f14a1_dd47_c6ba_2113_18491f2e7faa fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/integrations/partytown/src/index.ts lines 17–19
function appendForwardSlash(str: string) {
return str.endsWith('/') ? str : str + '/';
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does appendForwardSlash() do?
appendForwardSlash() is a function in the astro codebase, defined in packages/integrations/partytown/src/index.ts.
Where is appendForwardSlash() defined?
appendForwardSlash() is defined in packages/integrations/partytown/src/index.ts at line 17.
What calls appendForwardSlash()?
appendForwardSlash() is called by 1 function(s): createPlugin.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free