matchPort() — astro Function Reference
Architecture documentation for the matchPort() function in remote.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 7abc6f68_41bc_c543_41cf_f9498aeb3196["matchPort()"] be14f71c_abe1_1789_62c6_249b28c23bcc["remote.ts"] 7abc6f68_41bc_c543_41cf_f9498aeb3196 -->|defined in| be14f71c_abe1_1789_62c6_249b28c23bcc 2c106453_076d_2939_b71b_64bda08efedf["matchPattern()"] 2c106453_076d_2939_b71b_64bda08efedf -->|calls| 7abc6f68_41bc_c543_41cf_f9498aeb3196 style 7abc6f68_41bc_c543_41cf_f9498aeb3196 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/internal-helpers/src/remote.ts lines 31–33
export function matchPort(url: URL, port?: string): boolean {
return !port || port === url.port;
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does matchPort() do?
matchPort() is a function in the astro codebase, defined in packages/internal-helpers/src/remote.ts.
Where is matchPort() defined?
matchPort() is defined in packages/internal-helpers/src/remote.ts at line 31.
What calls matchPort()?
matchPort() is called by 1 function(s): matchPattern.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free