MCPcopy Create free account

hub / github.com/better-auth/better-hub / functions

Functions1,887 in github.com/better-auth/better-hub

↓ 1 callersFunctionbuildRules
(host)
packages/chrome-extension/background.js:153
↓ 1 callersFunctionbuildRules
(host)
packages/firefox-extension/background.js:114
↓ 1 callersFunctionbuildSearchIndex
(nodes: FileTreeNode[])
apps/web/src/components/repo/file-explorer-tree.tsx:27
↓ 1 callersFunctionbuildSearchIndex
(nodes: DiffTreeNode[])
apps/web/src/components/pr/diff-file-tree.tsx:47
↓ 1 callersFunctionbuildSplitRows
(lines: DiffLine[])
apps/web/src/components/pr/pr-diff-viewer.tsx:3527
↓ 1 callersFunctionbuildStepLogBlocks
(lines: LogLine[])
apps/web/src/components/actions/run-detail.tsx:145
↓ 1 callersFunctionbuildStepLogBlocks
(lines: LogLine[])
apps/web/src/components/actions/run-comparison-diff.tsx:69
↓ 1 callersFunctionbuildTree
(flat: { id: string; text: string; level: number }[])
apps/web/src/components/repo/document-outline.tsx:52
↓ 1 callersFunctionbuildUsageDetails
(usage: LanguageModelUsage)
apps/web/src/lib/billing/token-usage.ts:37
↓ 1 callersFunctioncacheDefaultBranch
(owner: string, repo: string, branch: string)
apps/web/src/lib/github.ts:461
↓ 1 callersFunctioncalculateCostUsd
(model: PricedModelId, usage: UsageDetails)
apps/web/src/lib/billing/ai-models.ts:56
↓ 1 callersFunctioncancel
()
apps/web/src/components/pr/editable-pr-title.tsx:64
↓ 1 callersFunctioncheckMobile
()
apps/web/src/hooks/use-is-mobile.ts:9
↓ 1 callersFunctionchildrenToText
(children: ReactNode)
apps/web/src/components/shared/client-markdown.tsx:63
↓ 1 callersFunctionclearAllFilters
()
apps/web/src/components/issue/issues-list.tsx:432
↓ 1 callersFunctionclearMpThemeDataCookie
()
apps/web/src/components/theme/theme-provider.tsx:78
↓ 1 callersFunctionclearStoreThemes
()
apps/web/src/lib/themes/index.ts:78
↓ 1 callersFunctioncloseGhostTab
( userId: string, tabId: string, newDefault?: { id: string; label: string; counter: number }, )
apps/web/src/lib/chat-store.ts:364
↓ 1 callersFunctionclosePullRequest
(owner: string, repo: string, pullNumber: number)
apps/web/src/app/(app)/repos/[owner]/[repo]/pulls/pr-actions.ts:147
↓ 1 callersFunctioncollectAllDirPaths
(nodes: DiffTreeNode[])
apps/web/src/components/pr/diff-file-tree.tsx:484
↓ 1 callersFunctioncollectFilePaths
(node: DiffTreeNode)
apps/web/src/components/pr/diff-file-tree.tsx:237
↓ 1 callersFunctioncommitFileEditOnPR
( owner: string, repo: string, pullNumber: number, path: string, branch: string, content: string, sha:
apps/web/src/app/(app)/repos/[owner]/[repo]/pulls/pr-actions.ts:432
↓ 1 callersFunctioncommitMergeConflictResolution
( owner: string, repo: string, pullNumber: number, headBranch: string, baseBranch: string, resolvedFiles
apps/web/src/app/(app)/repos/[owner]/[repo]/pulls/pr-actions.ts:660
↓ 1 callersFunctioncommitSuggestion
( owner: string, repo: string, pullNumber: number, path: string, branch: string, startLine: number, end
apps/web/src/app/(app)/repos/[owner]/[repo]/pulls/pr-actions.ts:375
↓ 1 callersFunctioncommitViaContentsApi
( octokit: Awaited<ReturnType<typeof getOctokit>> & {}, targetOwner: string, targetRepo: string, headBranc
apps/web/src/app/(app)/repos/[owner]/[repo]/pulls/pr-actions.ts:624
↓ 1 callersFunctioncompareBranches
( owner: string, repo: string, base: string, head: string, )
apps/web/src/app/(app)/repos/[owner]/[repo]/pulls/new/actions.ts:31
↓ 1 callersFunctioncomputeContributorScore
(input: ScoreInput)
apps/web/src/lib/contributor-score.ts:96
↓ 1 callersFunctioncomputeHotItems
(prs: PRItem[], issues: IssueItem[], base: string)
apps/web/src/components/repo/repo-overview.tsx:731
↓ 1 callersFunctioncomputeLineDiff
(oldText: string, newText: string)
apps/web/src/components/pr/pr-diff-viewer.tsx:5275
↓ 1 callersFunctioncomputeOrgParticipation
* For org repos, GitHub's participation `owner` array is always 0. * We rebuild it from contributor stats by summing commits from org members.
apps/web/src/app/(app)/repos/[owner]/[repo]/insights/page.tsx:28
↓ 1 callersFunctioncomputeUserProfileScore
(input: ProfileScoreInput)
apps/web/src/lib/user-profile-score.ts:103
↓ 1 callersFunctioncomputeWordDiff
( oldStr: string, newStr: string, )
apps/web/src/lib/github-utils.ts:447
↓ 1 callersFunctionconclusionLabel
(conclusion: string | null, status: string)
apps/web/src/components/actions/run-detail.tsx:106
↓ 1 callersFunctionconclusionLabel
(conclusion: string | null, status: string | null)
apps/web/src/components/actions/run-comparison-diff.tsx:30
↓ 1 callersFunctionconvertPRToDraft
(owner: string, repo: string, pullNumber: number)
apps/web/src/app/(app)/repos/[owner]/[repo]/pulls/pr-actions.ts:200
↓ 1 callersFunctioncosineSimilarity
(a: number[], b: number[])
apps/web/src/lib/embedding-store.ts:44
↓ 1 callersFunctioncountByState
(advisories: Advisory[], state: AdvisoryState)
apps/web/src/components/security/security-view.tsx:94
↓ 1 callersFunctioncountCustomThemesByAuthor
(authorGithubId: string)
apps/web/src/lib/theme-store.ts:340
↓ 1 callersFunctioncountPromptRequests
( owner: string, repo: string, status?: PromptRequestStatus, )
apps/web/src/lib/prompt-request-store.ts:106
↓ 1 callersFunctioncreateDefaultGhostTabState
()
apps/web/src/lib/chat-store.ts:285
↓ 1 callersFunctioncreateDiscussion
( owner: string, repo: string, repositoryId: string, categoryId: string, title: string, body: string, )
apps/web/src/app/(app)/repos/[owner]/[repo]/discussions/actions.ts:26
↓ 1 callersFunctioncreateDiscussionViaGraphQL
( repositoryId: string, categoryId: string, title: string, body: string, )
apps/web/src/lib/github.ts:4729
↓ 1 callersFunctioncreateGhostMarkdownComponents
( onNavigateToFile?: FileNavigateFn, knownFiles?: Set<string>, )
apps/web/src/components/shared/ai-chat.tsx:194
↓ 1 callersFunctioncreateIssue
( owner: string, repo: string, title: string, body: string, labels: string[], assignees: string[], )
apps/web/src/app/(app)/repos/[owner]/[repo]/issues/actions.ts:195
↓ 1 callersFunctioncreatePromptRequest
( userId: string, userLogin: string | null, userName: string | null, userAvatarUrl: string | null, owner:
apps/web/src/lib/prompt-request-store.ts:56
↓ 1 callersFunctioncreatePromptRequestAction
(owner: string, repo: string, body: string)
apps/web/src/app/(app)/repos/[owner]/[repo]/prompts/actions.ts:70
↓ 1 callersFunctioncreatePromptRequestComment
( promptRequestId: string, userId: string, userLogin: string | null, userName: string, userAvatarUrl: str
apps/web/src/lib/prompt-request-store.ts:203
↓ 1 callersFunctioncreatePullRequest
( owner: string, repo: string, title: string, body: string, head: string, base: string, draft?: boolean
apps/web/src/app/(app)/repos/[owner]/[repo]/pulls/new/actions.ts:83
↓ 1 callersFunctioncreateRepo
( name: string, description: string, isPrivate: boolean, autoInit: boolean, gitignoreTemplate: string, l
apps/web/src/app/(app)/repos/actions.ts:115
↓ 1 callersFunctioncreateRng
(seed: number)
apps/web/src/components/ui/github-background.tsx:5
↓ 1 callersFunctioncreateSuggestionConfig
( participantsRef: React.RefObject<MentionUser[]>, ownerRef?: React.RefObject<string>, )
apps/web/src/components/shared/mention-suggestion.tsx:138
↓ 1 callersFunctioncustomThemeExistsBySlug
(slug: string)
apps/web/src/lib/theme-store.ts:344
↓ 1 callersFunctiondeleteConversation
(conversationId: string, userId: string)
apps/web/src/lib/chat-store.ts:150
↓ 1 callersFunctiondeleteIssueComment
( owner: string, repo: string, issueNumber: number, commentId: number, )
apps/web/src/app/(app)/repos/[owner]/[repo]/issues/issue-actions.ts:306
↓ 1 callersFunctiondeletePRComment
( owner: string, repo: string, pullNumber: number, commentId: number, )
apps/web/src/app/(app)/repos/[owner]/[repo]/pulls/pr-actions.ts:315
↓ 1 callersFunctiondeletePromptComment
(commentId: string, promptRequestId: string)
apps/web/src/app/(app)/repos/[owner]/[repo]/prompts/actions.ts:149
↓ 1 callersFunctiondeletePromptRequest
(id: string)
apps/web/src/lib/prompt-request-store.ts:160
↓ 1 callersFunctiondeletePromptRequestAction
(id: string)
apps/web/src/app/(app)/repos/[owner]/[repo]/prompts/actions.ts:119
↓ 1 callersFunctiondeletePromptRequestComment
(id: string)
apps/web/src/lib/prompt-request-store.ts:241
↓ 1 callersFunctiondeleteRepository
(owner: string, repo: string)
apps/web/src/app/(app)/repos/[owner]/[repo]/settings/actions.ts:87
↓ 1 callersFunctionderivePinItemType
(p: string, base: string)
apps/web/src/components/command-menu.tsx:696
↓ 1 callersFunctionderivePinTitle
(p: string, base: string, owner: string, repo: string)
apps/web/src/components/command-menu.tsx:680
↓ 1 callersFunctiondiff
* Produce a sequence of diff operations from `from` → `to`.
apps/web/src/lib/three-way-merge.ts:67
↓ 1 callersFunctiondrainGitDataSyncQueue
(authCtx: GitHubAuthContext, limit = 4)
apps/web/src/lib/github.ts:2400
↓ 1 callersFunctionembedTexts
(texts: string[])
apps/web/src/lib/mixedbread.ts:43
↓ 1 callersFunctionembedUserAttachmentVideos
Render standalone GitHub user-attachment links as inline video players
apps/web/src/components/shared/markdown-renderer.tsx:332
↓ 1 callersFunctionencodePathSegment
(value: string)
apps/web/src/components/actions/run-link-targets.ts:23
↓ 1 callersFunctionenqueueGithubSyncJob
( userId: string, dedupeKey: string, jobType: string, payload: TPayload, )
apps/web/src/lib/github-sync-store.ts:118
↓ 1 callersFunctionensureDirectory
(dirPath: string)
apps/web/src/lib/file-tree.ts:95
↓ 1 callersFunctionensureStripeCustomer
(userId: string)
apps/web/src/lib/billing/usage-limit.ts:8
↓ 1 callersFunctionescapeDataAttr
(str: string)
apps/web/src/components/shared/markdown-renderer.tsx:427
↓ 1 callersFunctionescapeHtml
(str: string)
apps/web/src/lib/shiki.ts:18
↓ 1 callersFunctionescapeHtml
(str: string)
apps/web/src/lib/shiki-client.ts:60
↓ 1 callersFunctionextractEditsFromOps
(ops: DiffOp[])
apps/web/src/lib/three-way-merge.ts:183
↓ 1 callersFunctionextractHeadings
(container: HTMLElement)
apps/web/src/components/repo/document-outline.tsx:34
↓ 1 callersFunctionextractPreview
( type: string, dataJson: string | null, )
apps/web/src/lib/theme-store.ts:27
↓ 1 callersFunctionextractRepoName
(repoUrl: string)
apps/web/src/components/dashboard/dashboard-content.tsx:69
↓ 1 callersFunctionextractRepoSecurityFeatures
(repoData: unknown)
apps/web/src/lib/github.ts:6100
↓ 1 callersFunctionfetchAll
()
apps/web/src/components/pr/pr-diff-viewer.tsx:4817
↓ 1 callersFunctionfetchBranchNames
(owner: string, repo: string)
apps/web/src/app/(app)/repos/[owner]/[repo]/pulls/pr-actions.ts:63
↓ 1 callersFunctionfetchBranches
(owner: string, repo: string)
apps/web/src/app/(app)/repos/[owner]/[repo]/pulls/new/actions.ts:156
↓ 1 callersFunctionfetchCommitDetail
( owner: string, repo: string, sha: string, )
apps/web/src/app/(app)/repos/[owner]/[repo]/commits/actions.ts:103
↓ 1 callersFunctionfetchCommitsByDate
( owner: string, repo: string, since?: string, until?: string, branch?: string, )
apps/web/src/app/(app)/repos/[owner]/[repo]/commits/actions.ts:6
↓ 1 callersFunctionfetchCommitsPage
( owner: string, repo: string, page: number, branch?: string, since?: string, until?: string, )
apps/web/src/app/(app)/repos/[owner]/[repo]/commits/actions.ts:24
↓ 1 callersFunctionfetchCompareLinkStatus
(params: { baseOwner: string; baseRepo: string; headOwner: string; headRepo: string; baseBranch: string;
apps/web/src/app/(app)/repos/[owner]/[repo]/overview-actions.ts:136
↓ 1 callersFunctionfetchData
()
apps/web/src/components/pr/pr-conflict-resolver.tsx:206
↓ 1 callersFunctionfetchDiscussionComments
( owner: string, repo: string, discussionNumber: number, )
apps/web/src/app/(app)/repos/[owner]/[repo]/discussions/discussion-actions.ts:19
↓ 1 callersFunctionfetchFileContentForContext
( owner: string, repo: string, path: string, ref: string, )
apps/web/src/app/(app)/repos/[owner]/[repo]/file-search-actions.ts:31
↓ 1 callersFunctionfetchIssueComments
(owner: string, repo: string, issueNumber: number)
apps/web/src/app/(app)/repos/[owner]/[repo]/issues/issue-actions.ts:239
↓ 1 callersFunctionfetchIssueDetail
( owner: string, repo: string, issueNumber: number, )
apps/web/src/app/(app)/repos/[owner]/[repo]/issues/issue-actions.ts:64
↓ 1 callersFunctionfetchIssueFromGitHub
( octokit: Octokit, owner: string, repo: string, issueNumber: number, )
apps/web/src/lib/github.ts:1209
↓ 1 callersFunctionfetchMoreDiscussions
( owner: string, repo: string, cursor: string, )
apps/web/src/lib/github.ts:4653
↓ 1 callersFunctionfetchOverviewCIStatus
( owner: string, repo: string, defaultBranch: string, )
apps/web/src/app/(app)/repos/[owner]/[repo]/overview-actions.ts:124
↓ 1 callersFunctionfetchOverviewCommitActivity
( owner: string, repo: string, )
apps/web/src/app/(app)/repos/[owner]/[repo]/overview-actions.ts:105
↓ 1 callersFunctionfetchOverviewEvents
( owner: string, repo: string, )
apps/web/src/app/(app)/repos/[owner]/[repo]/overview-actions.ts:114
↓ 1 callersFunctionfetchOverviewIssues
( owner: string, repo: string, )
apps/web/src/app/(app)/repos/[owner]/[repo]/overview-actions.ts:76
↓ 1 callersFunctionfetchOverviewPRs
(owner: string, repo: string)
apps/web/src/app/(app)/repos/[owner]/[repo]/overview-actions.ts:61
↓ 1 callersFunctionfetchPersonRepoActivityFromGitHub
( octokit: Octokit, owner: string, repo: string, username: string, )
apps/web/src/lib/github.ts:7065
↓ 1 callersFunctionfetchPullRequestFromGitHub
( octokit: Octokit, owner: string, repo: string, pullNumber: number, )
apps/web/src/lib/github.ts:1234
↓ 1 callersFunctionfetchReleasesPage
(owner: string, repo: string, page: number)
apps/web/src/app/(app)/repos/[owner]/[repo]/releases/actions.ts:6
← previousnext →501–600 of 1,887, ranked by callers