Home / Function/ isSameFilePath() — vite Function Reference

isSameFilePath() — vite Function Reference

Architecture documentation for the isSameFilePath() function in utils.ts from the vite codebase.

Entity Profile

Dependency Diagram

graph TD
  1bfe2c56_df21_a80a_d46e_8e769fa0b467["isSameFilePath()"]
  031bc221_67a8_c579_f2bf_bb30a08beeb2["utils.ts"]
  1bfe2c56_df21_a80a_d46e_8e769fa0b467 -->|defined in| 031bc221_67a8_c579_f2bf_bb30a08beeb2
  2c797df0_6f8d_bb30_24cf_3a4eff202dbc["isFileInTargetPath()"]
  2c797df0_6f8d_bb30_24cf_3a4eff202dbc -->|calls| 1bfe2c56_df21_a80a_d46e_8e769fa0b467
  style 1bfe2c56_df21_a80a_d46e_8e769fa0b467 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/vite/src/node/utils.ts lines 269–274

export function isSameFilePath(file1: string, file2: string): boolean {
  return (
    file1 === file2 ||
    (isCaseInsensitiveFS && file1.toLowerCase() === file2.toLowerCase())
  )
}

Domain

Subdomains

Frequently Asked Questions

What does isSameFilePath() do?
isSameFilePath() is a function in the vite codebase, defined in packages/vite/src/node/utils.ts.
Where is isSameFilePath() defined?
isSameFilePath() is defined in packages/vite/src/node/utils.ts at line 269.
What calls isSameFilePath()?
isSameFilePath() is called by 1 function(s): isFileInTargetPath.

Analyze Your Own Codebase

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

Try Supermodel Free