isLocalPath() — ui Function Reference
Architecture documentation for the isLocalPath() function in builder.ts from the ui codebase.
Entity Profile
Dependency Diagram
graph TD af9dd353_51c6_ebc6_c89c_838aef951e51["isLocalPath()"] 8c5b2947_9033_b37b_2596_f9777d2a7f77["builder.ts"] af9dd353_51c6_ebc6_c89c_838aef951e51 -->|defined in| 8c5b2947_9033_b37b_2596_f9777d2a7f77 b89897ed_a718_3b68_b54b_4dbc4c63943b["buildUrlAndHeadersForRegistryItem()"] b89897ed_a718_3b68_b54b_4dbc4c63943b -->|calls| af9dd353_51c6_ebc6_c89c_838aef951e51 style af9dd353_51c6_ebc6_c89c_838aef951e51 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/shadcn/src/registry/builder.ts lines 17–19
function isLocalPath(path: string) {
return path.startsWith("./") || path.startsWith("/")
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does isLocalPath() do?
isLocalPath() is a function in the ui codebase, defined in packages/shadcn/src/registry/builder.ts.
Where is isLocalPath() defined?
isLocalPath() is defined in packages/shadcn/src/registry/builder.ts at line 17.
What calls isLocalPath()?
isLocalPath() is called by 1 function(s): buildUrlAndHeadersForRegistryItem.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free