Home / Function/ toBranchValue() — supabase Function Reference

toBranchValue() — supabase Function Reference

Architecture documentation for the toBranchValue() function in ProjectConfigVariables.utils.ts from the supabase codebase.

Entity Profile

Dependency Diagram

graph TD
  198dc860_88ff_83be_86c6_c192e2e930b4["toBranchValue()"]
  a18b0675_01e4_91fb_4b0f_69aed0bf085e["BranchSelector()"]
  a18b0675_01e4_91fb_4b0f_69aed0bf085e -->|calls| 198dc860_88ff_83be_86c6_c192e2e930b4
  34a5a978_17a6_a0fb_82c6_c46dbefb0d5b["escapeDoubleQuotes()"]
  198dc860_88ff_83be_86c6_c192e2e930b4 -->|calls| 34a5a978_17a6_a0fb_82c6_c46dbefb0d5b
  bc247c6a_fb26_7351_7345_588be1d77404["removeDoubleQuotes()"]
  198dc860_88ff_83be_86c6_c192e2e930b4 -->|calls| bc247c6a_fb26_7351_7345_588be1d77404
  style 198dc860_88ff_83be_86c6_c192e2e930b4 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/docs/components/ProjectConfigVariables/ProjectConfigVariables.utils.ts lines 74–76

export function toBranchValue(branch: Branch) {
  return escapeDoubleQuotes(JSON.stringify([branch.id, removeDoubleQuotes(branch.name)]))
}

Subdomains

Called By

Frequently Asked Questions

What does toBranchValue() do?
toBranchValue() is a function in the supabase codebase.
What does toBranchValue() call?
toBranchValue() calls 2 function(s): escapeDoubleQuotes, removeDoubleQuotes.
What calls toBranchValue()?
toBranchValue() is called by 1 function(s): BranchSelector.

Analyze Your Own Codebase

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

Try Supermodel Free