Home / Function/ getGitUpdatedAt() — supabase Function Reference

getGitUpdatedAt() — supabase Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  1ba60220_a575_c24f_fe49_f47078e3f7a2["getGitUpdatedAt()"]
  77b76736_2d89_a5d1_7e2a_c8558785ff1e["updateTimestampsWithLastCommitDate()"]
  77b76736_2d89_a5d1_7e2a_c8558785ff1e -->|calls| 1ba60220_a575_c24f_fe49_f47078e3f7a2
  bfa6040a_06bc_52d3_f5eb_be9bce7bd5d0["updateTimestampsWithChecksumMatch()"]
  bfa6040a_06bc_52d3_f5eb_be9bce7bd5d0 -->|calls| 1ba60220_a575_c24f_fe49_f47078e3f7a2
  style 1ba60220_a575_c24f_fe49_f47078e3f7a2 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/docs/scripts/last-changed.ts lines 281–283

async function getGitUpdatedAt(filePath: string, { git }: { git: SimpleGit }) {
  return (await git.raw('log', '-1', '--format=%cI', filePath)).trim()
}

Subdomains

Frequently Asked Questions

What does getGitUpdatedAt() do?
getGitUpdatedAt() is a function in the supabase codebase.
What calls getGitUpdatedAt()?
getGitUpdatedAt() 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