appendForwardSlash() — astro Function Reference
Architecture documentation for the appendForwardSlash() function in node.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD bc57e204_62b2_557d_809f_f5264eb18411["appendForwardSlash()"] b4396eb3_3c48_69c3_9cdf_b53ef92bae86["node.ts"] bc57e204_62b2_557d_809f_f5264eb18411 -->|defined in| b4396eb3_3c48_69c3_9cdf_b53ef92bae86 c368da5c_3669_5369_225a_387a561f912d["resolveOutDir()"] c368da5c_3669_5369_225a_387a561f912d -->|calls| bc57e204_62b2_557d_809f_f5264eb18411 style bc57e204_62b2_557d_809f_f5264eb18411 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/assets/endpoint/node.ts lines 64–66
function appendForwardSlash(pth: string) {
return pth.endsWith('/') ? pth : pth + '/';
}
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/astro/src/assets/endpoint/node.ts.
Where is appendForwardSlash() defined?
appendForwardSlash() is defined in packages/astro/src/assets/endpoint/node.ts at line 64.
What calls appendForwardSlash()?
appendForwardSlash() is called by 1 function(s): resolveOutDir.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free