Home / Function/ existsFile() — supabase Function Reference

existsFile() — supabase Function Reference

Architecture documentation for the existsFile() function in helpers.fs.ts from the supabase codebase.

Entity Profile

Dependency Diagram

graph TD
  2a6ad195_f419_464c_aa6c_394e5f096b53["existsFile()"]
  f53ea99a_ed6b_f32f_a141_f991bb53a0a7["genGuidesStaticParams()"]
  f53ea99a_ed6b_f32f_a141_f991bb53a0a7 -->|calls| 2a6ad195_f419_464c_aa6c_394e5f096b53
  style 2a6ad195_f419_464c_aa6c_394e5f096b53 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/docs/features/helpers.fs.ts lines 46–53

export const existsFile = async (fullPath: string) => {
  try {
    await stat(fullPath)
    return true
  } catch {
    return false
  }
}

Subdomains

Frequently Asked Questions

What does existsFile() do?
existsFile() is a function in the supabase codebase.
What calls existsFile()?
existsFile() is called by 1 function(s): genGuidesStaticParams.

Analyze Your Own Codebase

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

Try Supermodel Free