Home / Function/ isInternalPath() — astro Function Reference

isInternalPath() — astro Function Reference

Architecture documentation for the isInternalPath() function in path.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  f004e52b_da20_d01a_cf3d_27f9bcba82f9["isInternalPath()"]
  f5377c99_3ce3_1abd_148f_93394ff5efe2["path.ts"]
  f004e52b_da20_d01a_cf3d_27f9bcba82f9 -->|defined in| f5377c99_3ce3_1abd_148f_93394ff5efe2
  style f004e52b_da20_d01a_cf3d_27f9bcba82f9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/internal-helpers/src/path.ts lines 67–69

export function isInternalPath(path: string) {
	return INTERNAL_PREFIXES.has(path.slice(0, 2)) && !JUST_SLASHES.test(path);
}

Domain

Subdomains

Frequently Asked Questions

What does isInternalPath() do?
isInternalPath() is a function in the astro codebase, defined in packages/internal-helpers/src/path.ts.
Where is isInternalPath() defined?
isInternalPath() is defined in packages/internal-helpers/src/path.ts at line 67.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free