Home / Function/ getContentDirParentPage() — supabase Function Reference

getContentDirParentPage() — supabase Function Reference

Architecture documentation for the getContentDirParentPage() function in last-changed.ts from the supabase codebase.

Entity Profile

Dependency Diagram

graph TD
  141368a9_8f24_1698_ef6b_96859cfb64fa["getContentDirParentPage()"]
  77b76736_2d89_a5d1_7e2a_c8558785ff1e["updateTimestampsWithLastCommitDate()"]
  77b76736_2d89_a5d1_7e2a_c8558785ff1e -->|calls| 141368a9_8f24_1698_ef6b_96859cfb64fa
  bfa6040a_06bc_52d3_f5eb_be9bce7bd5d0["updateTimestampsWithChecksumMatch()"]
  bfa6040a_06bc_52d3_f5eb_be9bce7bd5d0 -->|calls| 141368a9_8f24_1698_ef6b_96859cfb64fa
  88f45a4f_9be3_8498_2a53_06ed061ad50a["getContentDir()"]
  141368a9_8f24_1698_ef6b_96859cfb64fa -->|calls| 88f45a4f_9be3_8498_2a53_06ed061ad50a
  style 141368a9_8f24_1698_ef6b_96859cfb64fa fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/docs/scripts/last-changed.ts lines 285–288

function getContentDirParentPage(filePath: string) {
  const contentDir = getContentDir()
  return `/content${filePath.replace(contentDir, '')}`
}

Subdomains

Frequently Asked Questions

What does getContentDirParentPage() do?
getContentDirParentPage() is a function in the supabase codebase.
What does getContentDirParentPage() call?
getContentDirParentPage() calls 1 function(s): getContentDir.
What calls getContentDirParentPage()?
getContentDirParentPage() is called by 2 function(s): updateTimestampsWithChecksumMatch, updateTimestampsWithLastCommitDate.

Analyze Your Own Codebase

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

Try Supermodel Free