Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anthropics/claude-code
/ functions
Functions
689 in github.com/anthropics/claude-code
⨍
Functions
689
◇
Types & classes
24
↓ 1 callers
Function
left
()
mods/diff/hooks/views/detail/code-blocks-of/code-blocks-of.ts:31
↓ 1 callers
Function
linesOf
(body: Git.FileHunks | null | undefined)
mods/diff/tests/git/fetch-hunks.test.ts:55
↓ 1 callers
Function
linesOf
(body: Git.FileHunks | undefined)
mods/diff/tests/git/parse/parse-file-diffs.test.ts:11
↓ 1 callers
Function
linuxDistroOf
( readOsRelease: () => Promise<string>, )
mods/telemetry/hooks/context/linux-distro-of/linux-distro-of.ts:11
↓ 1 callers
Function
linuxFilesOf
( deps: TelemetryDeps, isLinux: boolean, )
mods/telemetry/hooks/context/probe-of/linux-files-of/linux-files-of.ts:14
↓ 1 callers
Function
listOf
()
mods/diff/hooks/views/sidebar-pane/sidebar-pane.tsx:82
↓ 1 callers
Function
listingOf
(directory: string)
mods/diff/hooks/git/probes/kind-walk-of/kind-walk-of.ts:26
↓ 1 callers
Function
load_baseline_sha
Load the git baseline SHA from state.
plugins/security-guidance/hooks/diffstate.py:50
↓ 1 callers
Function
load_rule_file
Load a single rule file. Returns: Rule object or None if file is invalid.
plugins/hookify/core/config_loader.py:244
↓ 1 callers
Function
load_state
Load the full state dict from file.
plugins/security-guidance/hooks/session_state.py:88
↓ 1 callers
Function
loadingOf
()
mods/diff/hooks/views/prelude-of/prelude-of.tsx:36
↓ 1 callers
Function
main
Run the bootstrap. Returns (outcome, err_phase, err_kind). err_phase / err_kind are non-empty only on BUILD_FAILED — they let telemetry split
plugins/security-guidance/hooks/ensure_agent_sdk.py:57
↓ 1 callers
Function
main
Main hook function.
plugins/security-guidance/hooks/security_reminder_hook.py:2019
↓ 1 callers
Function
main
Main entry point for PostToolUse hook.
plugins/hookify/hooks/posttooluse.py:30
↓ 1 callers
Function
main
Main entry point for PreToolUse hook.
plugins/hookify/hooks/pretooluse.py:35
↓ 1 callers
Function
main
Main entry point for UserPromptSubmit hook.
plugins/hookify/hooks/userpromptsubmit.py:30
↓ 1 callers
Function
main
Main entry point for Stop hook.
plugins/hookify/hooks/stop.py:30
↓ 1 callers
Function
main
()
examples/hooks/bash_command_validator_example.py:56
↓ 1 callers
Function
managedModsOnlyRefusal
(name: string)
mods/sec-default/hooks/managed-mods-only-refusal/managed-mods-only-refusal.ts:8
↓ 1 callers
Function
markFieldsOf
({ kind, feature, reason, props, }: Mark)
mods/telemetry/hooks/entries/mark-fields-of/mark-fields-of.ts:17
↓ 1 callers
Function
markStale
(owner: string, repo: string)
scripts/sweep.ts:45
↓ 1 callers
Function
markTabSwitch
(engine: Host, tab: (typeof Record.TABS)[number])
mods/diff/hooks/register.ts:472
↓ 1 callers
Function
mergeBaseCandidatesOf
( run: Types.GitRun, defaultBranch: string, )
mods/diff/hooks/git/probes/merge-base-candidates-of/merge-base-candidates-of.ts:17
↓ 1 callers
Function
mergedWithUntracked
( result: Types.NumstatResult, untracked: readonly Types.FileStat[] | null, )
mods/diff/hooks/git/tiers/with-untracked/merged-with-untracked/merged-with-untracked.ts:15
↓ 1 callers
Function
messageOf
()
mods/diff/hooks/views/body/plan/segments/segments-of.ts:106
↓ 1 callers
Function
metadataOf
( row: Batching.PendingRow, remoteHash: string | undefined, )
mods/telemetry/hooks/entries/event-data-of/metadata-of/metadata-of.ts:11
↓ 1 callers
Function
middleOf
(path: string)
mods/diff/hooks/git/rename-display-of/rename-display-of.ts:45
↓ 1 callers
Function
missingBaseOf
( run: Types.GitRun, defaultBranch: string, )
mods/diff/hooks/git/probes/missing-base-of/missing-base-of.ts:15
↓ 1 callers
Function
modsPolicyOf
(value: boolean | number | string)
mods/sec-default/tests/fixtures/mods-policy-of.ts:10
↓ 1 callers
Function
moreOf
(way: 'up' | 'down', count: number)
mods/diff/hooks/views/dialog-pane/dialog-pane.tsx:98
↓ 1 callers
Function
mtimeOf
(engine: Host)
mods/diff/hooks/mtime-of/mtime-of.ts:11
↓ 1 callers
Function
nameOf
()
mods/diff/hooks/pane-state/mode-label-of/mode-label-of.ts:28
↓ 1 callers
Function
noopActionsOf
()
mods/diff/tests/fixtures/pane-view/noop-actions-of.ts:9
↓ 1 callers
Function
normalizedRemoteOf
(remote: string)
mods/telemetry/hooks/context/remote-hash-of/normalized-remote-of/normalized-remote-of.ts:11
↓ 1 callers
Function
noteOf
(entry: Entries.BodyEntry)
mods/diff/hooks/views/dialog-pane/dialog-pane.tsx:80
↓ 1 callers
Function
onFeature
()
mods/diff/tests/git/probes/branch-base-of.test.ts:14
↓ 1 callers
Function
onFeatureNoUntrackedOf
()
mods/diff/tests/git/fetch-diff.test.ts:61
↓ 1 callers
Function
openOnRestore
(engine: Host)
mods/diff/hooks/register.ts:519
↓ 1 callers
Function
openedOf
()
mods/diff/hooks/views/body/plan/segments/segments-of.ts:123
↓ 1 callers
Function
orgServerNames
(policy: Settings)
mods/sec-default/hooks/policy/managed-tools-restored/is-org-tool/org-server-names/org-server-names.ts:13
↓ 1 callers
Function
osReleaseValue
(content: string, key: 'ID' | 'VERSION_ID')
mods/telemetry/hooks/context/linux-distro-of/os-release-value/os-release-value.ts:9
↓ 1 callers
Function
pagedEdgeOf
(way: 'up' | 'down', count: number)
mods/diff/hooks/views/dialog-pane/dialog-pane.tsx:105
↓ 1 callers
Function
parseFileDiff
(stdout: string)
mods/diff/hooks/git/parse/parse-file-diff.ts:19
↓ 1 callers
Function
pastUsers
( e: E, next: Provided.ProvidedNext<E, R>, )
mods/sec-default/hooks/past-users/past-users.ts:16
↓ 1 callers
Function
pickedTurnOf
(model: PaneModel)
mods/diff/hooks/pane-state/picked-turn-of/picked-turn-of.ts:11
↓ 1 callers
Function
placeholderOf
(detail: DetailModel)
mods/diff/hooks/views/detail/placeholder-of/placeholder-of.ts:15
↓ 1 callers
Function
plausibleUuid
(value: unknown)
mods/telemetry/hooks/context/identity/plausible-uuid/plausible-uuid.ts:11
↓ 1 callers
Function
post
(body: string, auth: string)
mods/telemetry/hooks/telemetry-of/telemetry-of.ts:72
↓ 1 callers
Function
postedWithRetry
( body: string, auth: string, )
mods/telemetry/hooks/telemetry-of/telemetry-of.ts:83
↓ 1 callers
Function
present
( children: readonly (RenderElement | null)[], )
mods/diff/hooks/views/sections/present/present.ts:12
↓ 1 callers
Function
primed
()
mods/telemetry/hooks/telemetry-of/telemetry-of.ts:64
↓ 1 callers
Function
probeBackend
(engine: Host)
mods/diff/hooks/register.ts:119
↓ 1 callers
Function
probeOf
( deps: TelemetryDeps, isInteractive: boolean, )
mods/telemetry/hooks/context/probe-of/probe-of.ts:21
↓ 1 callers
Function
probeOf
(budget: number)
mods/diff/tests/git/probes/datings-of.test.ts:33
↓ 1 callers
Function
probesOf
()
mods/diff/tests/register.test.ts:1045
↓ 1 callers
Function
queued
(fields: Entries.Fields)
mods/telemetry/hooks/telemetry-of/telemetry-of.ts:167
↓ 1 callers
Function
rawRecordOf
(path: string)
mods/diff/tests/fixtures/scripted/raw-record-of.ts:8
↓ 1 callers
Function
readHeadKey
()
mods/diff/hooks/register.ts:293
↓ 1 callers
Function
record_pending_warnings
Mark file:rule pairs as pending for the Stop-hook outcome sweep.
plugins/security-guidance/hooks/security_reminder_hook.py:321
↓ 1 callers
Function
record_touched_path
Append a file path to the touched_paths list (deduped, capped at 200). Stop is the consumer and clears under the same lock it reads with; UPS
plugins/security-guidance/hooks/diffstate.py:57
↓ 1 callers
Function
recordingBackendHostOf
( script: Readonly<Record<string, ProcessRunResult>>, )
mods/diff/tests/fixtures/backend-of/recording-backend-host-of.ts:14
↓ 1 callers
Function
refusalFor
(entry: unknown)
mods/telemetry/tests/register.test.ts:331
↓ 1 callers
Function
registeredToolOf
(plugin: string, name: string)
mods/sec-default/tests/fixtures/registered-tool-of.ts:8
↓ 1 callers
Function
remoteHashOf
( remote: string | null | undefined, )
mods/telemetry/hooks/context/remote-hash-of/remote-hash-of.ts:12
↓ 1 callers
Function
renameDisplayOf
(oldPath: string, newPath: string)
mods/diff/hooks/git/rename-display-of/rename-display-of.ts:13
↓ 1 callers
Function
rowOf
(path: string, kind: Partial<Git.FileStat> = {})
mods/diff/tests/git/fetch-hunks.test.ts:12
↓ 1 callers
Function
runOf
(script: Script)
mods/diff/tests/git/probes/branch-base-of.test.ts:12
↓ 1 callers
Function
runOf
(pinned: Types.Repository | null)
mods/diff/hooks/git/git-backend-of.ts:27
↓ 1 callers
Function
safely
(send: () => Promise<void>)
mods/diff/hooks/record/safely/safely.ts:7
↓ 1 callers
Function
sanitizeLine
(text: string)
mods/diff/hooks/views/layout/sanitize-line/sanitize-line.ts:14
↓ 1 callers
Function
save_state
Save the full state dict to file.
plugins/security-guidance/hooks/session_state.py:104
↓ 1 callers
Function
scriptedGitOf
( script: Readonly<Record<string, ProcessRunResult>>, )
mods/diff/tests/fixtures/scripted/scripted-git-of.ts:14
↓ 1 callers
Function
separatorOf
(dir: string)
mods/agents-md/hooks/frames/absolute-of.ts:33
↓ 1 callers
Function
sessionFieldsOf
(facts: Facts)
mods/telemetry/hooks/context/session-fields-of/session-fields-of.ts:14
↓ 1 callers
Function
shellOf
(shellPath: string | undefined)
mods/telemetry/hooks/context/shell-of/shell-of.ts:12
↓ 1 callers
Function
sidebarPane
( kit: Kit, model: PaneState.PaneModel, )
mods/diff/hooks/views/sidebar-pane/sidebar-pane.tsx:26
↓ 1 callers
Function
spawnedSince
()
mods/diff/tests/register.test.ts:69
↓ 1 callers
Function
stampProbeOf
( deps: Pick<Types.GitDeps, 'entryKindsOf' | 'mtimeOf'>, base: string, budget: number, )
mods/diff/hooks/git/probes/stamp-probe-of/stamp-probe-of.ts:13
↓ 1 callers
Function
startPoll
(engine: Host, pinned: Backend.Backend)
mods/diff/hooks/register.ts:292
↓ 1 callers
Function
startsSession
(on: On, now = 0)
mods/diff/tests/fixtures/starts-session.ts:13
↓ 1 callers
Function
statTextOf
(added: number, removed: number)
mods/diff/hooks/views/sections/stat-text-of/stat-text-of.ts:11
↓ 1 callers
Function
stubBackendOf
(toplevel: string)
mods/diff/tests/fixtures/backend-of/stub-backend-of.ts:11
↓ 1 callers
Function
subHunksOf
( hunk: Git.Hunk, maxChars: number, )
mods/diff/hooks/views/detail/sub-hunks-of/sub-hunks-of.ts:16
↓ 1 callers
Function
sweep_pending_warnings
Stop-hook final sweep. Re-read every file in pending_warnings, re-check patterns, and return (fixed, unresolved, unresolved_mask). Clears sta
plugins/security-guidance/hooks/security_reminder_hook.py:332
↓ 1 callers
Function
tagsOf
(variable: string | undefined)
mods/telemetry/hooks/context/environment-fields-of/tags-of/tags-of.ts:8
↓ 1 callers
Function
telemetryOf
(deps: TelemetryDeps)
mods/telemetry/hooks/telemetry-of/telemetry-of.ts:23
↓ 1 callers
Function
terminalOf
( facts: Facts, platform: string, isInteractive: boolean, )
mods/telemetry/hooks/context/terminal-of/terminal-of.ts:17
↓ 1 callers
Function
triggerDedupeWorkflow
( owner: string, repo: string, issueNumber: number, token: string, dryRun: boolean = true )
scripts/backfill-duplicate-comments.ts:47
↓ 1 callers
Function
turnTitleOf
( turn: Pick<Turns.TurnDiff, 'index' | 'preview'>, )
mods/diff/hooks/pane-state/turn-title-of/turn-title-of.ts:11
↓ 1 callers
Function
unbornNoUntrackedOf
()
mods/diff/tests/git/fetch-diff.test.ts:73
↓ 1 callers
Function
unpin
()
mods/diff/hooks/register.ts:169
↓ 1 callers
Function
untrackedRowsOf
( context: Types.DatingContext, paths: readonly string[], place: UntrackedPlace, )
mods/diff/hooks/git/probes/untracked-rows-of/untracked-rows-of.ts:20
↓ 1 callers
Function
vcsOf
( list: (path: string) => Promise<readonly FsEntry[]>, cwd: string, hasP4Port: boolean, )
mods/telemetry/hooks/context/vcs-of/vcs-of.ts:15
↓ 1 callers
Function
versionOf
(version: string | undefined)
mods/telemetry/hooks/context/version-of/version-of.ts:8
↓ 1 callers
Function
viaGit
()
mods/diff/hooks/git/probes/head-key-of/head-key-of.ts:36
↓ 1 callers
Function
walkOf
(budget: number)
mods/diff/tests/git/probes/kind-walk-of.test.ts:13
↓ 1 callers
Function
walks
()
mods/diff/tests/git.test.ts:50
↓ 1 callers
Function
wireOf
(value: unknown)
mods/telemetry/hooks/entries/wire-of/wire-of.ts:10
↓ 1 callers
Function
withClosingLine
(body: Types.FileHunks)
mods/diff/hooks/git/fetch-hunks/with-closing-line/with-closing-line.ts:14
↓ 1 callers
Function
wslVersionOf
( readProcVersion: () => Promise<string>, )
mods/telemetry/hooks/context/wsl-version-of/wsl-version-of.ts:8
← previous
next →
301–400 of 689, ranked by callers