MCPcopy
hub / github.com/xintaofei/codeg / useTabContext

Function useTabContext

src/contexts/tab-context.tsx:208–214  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

206const TabContext = createContext<TabContextValue | null>(null)
207
208export function useTabContext() {
209 const ctx = useContext(TabContext)
210 if (!ctx) {
211 throw new Error("useTabContext must be used within TabProvider")
212 }
213 return ctx
214}
215
216function makeConversationTabId(
217 folderId: number,

Callers 15

BranchDropdownFunction · 0.90
GitChangesTabFunction · 0.90
StatusBarConnectionFunction · 0.90
FolderTitleBarFunction · 0.90
FileTreeTabFunction · 0.90
StatusBarSessionInfoFunction · 0.90
SidebarFunction · 0.90
FileWorkspacePanelFunction · 0.90
DeepLinkBootstrapFunction · 0.90
PetFocusBridgeFunction · 0.90

Calls

no outgoing calls

Tested by 1

ProbeFunction · 0.72