Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anthropics/claude-code
/ functions
Functions
349 in github.com/anthropics/claude-code
⨍
Functions
349
◇
Types & classes
10
Function
isAbsolutePath
(line: string)
mods/diff/hooks/git/probes/is-absolute-path/is-absolute-path.ts:8
Function
isBodyLine
(line: string)
mods/diff/hooks/git/parse/is-body-line/is-body-line.ts:8
Function
isNoiseFile
(path: string)
mods/diff/hooks/classify/is-noise-file.ts:11
Function
isPromptRow
(message: SessionMessage)
mods/diff/hooks/turns/turn-of/is-prompt-row/is-prompt-row.ts:10
Function
isSha
(text: string)
mods/diff/hooks/git/probes/is-sha/is-sha.ts:8
Function
isTransient
( entryKindsOf: Types.GitDeps['entryKindsOf'], gitDir: string, )
mods/diff/hooks/git/probes/is-transient.ts:15
Function
isUnbornHead
(run: Types.GitRun)
mods/diff/hooks/git/probes/is-unborn-head.ts:14
Function
isWholeAnswer
(result: Types.RunResult)
mods/diff/hooks/git/parse/is-whole-answer/is-whole-answer.ts:11
Function
kindOf
(path: string)
mods/diff/hooks/git/probes/kind-walk-of/kind-walk-of.ts:41
Function
listedOf
( partition: Partition, preSession: 'shown' | 'hidden', )
mods/diff/hooks/pane-state/listed-of.ts:12
Function
load_for_session
Load project-specific guidance and patterns once per hook invocation. Called from the hook's main() before dispatching. Failures are non-fatal —
plugins/security-guidance/hooks/extensibility.py:60
Function
managedToolsRestored
( policy: Settings | undefined, real: ValueOrDeny<ToolInfo[]>, seen: ValueOrDeny<ToolInfo[]>, )
mods/sec-default/hooks/policy/managed-tools-restored/managed-tools-restored.ts:17
Function
marked
(text: string)
mods/diff/hooks/views/detail/hunk-body/hunk-body.tsx:75
Function
overlayUnstaged
( staged: Types.NumstatResult, unstaged: Types.NumstatResult, )
mods/diff/hooks/git/probes/overlay-unstaged.ts:15
Function
paneToggleOf
(pane: PaneBelief)
mods/diff/hooks/pane-toggle/pane-toggle-of.ts:13
Function
paneView
(kit: Kit, model: PaneState.PaneModel)
mods/diff/hooks/views/pane-view.tsx:19
Function
parseFileDiff
(stdout: string)
mods/diff/hooks/git/parse/parse-file-diff.ts:19
Function
parseNumstat
( stdout: string, maxFiles: number, )
mods/diff/hooks/git/parse/parse-numstat.ts:16
Function
parseShortstat
(stdout: string)
mods/diff/hooks/git/parse/parse-shortstat.ts:11
Function
partitionOf
( files: readonly Git.FileStat[], noise: 'shown' | 'hidden', )
mods/diff/hooks/pane-state/partition-of.ts:15
Function
pickedTurnOf
(model: PaneModel)
mods/diff/hooks/pane-state/picked-turn-of/picked-turn-of.ts:11
Function
pinnedLeadOf
( repository: Types.Repository, )
mods/diff/hooks/git/argv/pinned-lead-of/pinned-lead-of.ts:13
Function
plural
(count: number, noun: string)
mods/diff/hooks/views/layout/plural/plural.ts:9
Function
recorderOf
(host: Host)
mods/diff/hooks/record/recorder-of.ts:14
Function
register
(on: On)
mods/telemetry/hooks/register.ts:14
Function
register
(on: On)
mods/sec-default/hooks/register.ts:17
Function
register
(on: On)
mods/diff/hooks/register.ts:32
Function
registerFailedTextOf
(reason: string)
mods/diff/hooks/names/texts/register-failed-text-of.ts:8
Function
repositoryOf
( run: Types.GitRun, )
mods/diff/hooks/git/probes/repository-of/repository-of.ts:17
Function
sanitizeName
(text: string)
mods/diff/hooks/views/layout/sanitize-name/sanitize-name.ts:13
Function
save_baseline_sha
Save the git baseline SHA to state.
plugins/security-guidance/hooks/diffstate.py:43
Function
selectionOf
( listed: readonly Git.FileStat[], selectedPath: string | null, )
mods/diff/hooks/pane-state/selection-of/selection-of.ts:12
Function
statsOf
( context: Types.FetchContext, base: string, )
mods/diff/hooks/git/probes/stats-of.ts:17
Function
tagPreSession
( context: Types.DatingContext, files: readonly Types.FileStat[], )
mods/diff/hooks/git/probes/tag-pre-session.ts:15
Function
tag_diff_anchor
SOFT diff-intersect: tag each candidate ``_diff_anchor: "in_diff" | "off_diff"`` and sort in_diff first; do NOT drop. Investigate reads full
plugins/security-guidance/hooks/review_api.py:291
Function
todoBar
( kit: Kit, todos: Todos.TodoProgress, )
mods/diff/hooks/views/sections/todo-bar.tsx:19
Function
todoProgressOf
( messages: readonly SessionMessage[], )
mods/diff/hooks/todos/todo-progress-of.ts:18
Function
toggleRow
( kit: Kit, key: string, pressable: Pressable, )
mods/diff/hooks/views/sections/toggle-row.tsx:18
Function
truncateStart
(text: string, cells: number)
mods/diff/hooks/views/layout/truncate-start/truncate-start.ts:15
Function
turnDiffsOf
( messages: readonly SessionMessage[], )
mods/diff/hooks/turns/turn-diffs-of.ts:16
Function
turnOf
( rows: readonly SessionMessage[], index: number, )
mods/diff/hooks/turns/turn-of/turn-of.ts:19
Function
turnTotalsOf
(turn: Turns.TurnDiff)
mods/diff/hooks/pane-state/turn-totals-of/turn-totals-of.ts:11
Function
unstagedNumstat
( run: Types.GitRun, )
mods/diff/hooks/git/probes/unstaged-numstat.ts:14
Function
untrackedFiles
( context: Pick<Types.FetchContext, 'run'> & Types.DatingContext, place: UntrackedPlace, )
mods/diff/hooks/git/probes/untracked-files/untracked-files.ts:16
Function
untrackedWithheldTextOf
(lister: string)
mods/diff/hooks/names/texts/untracked-withheld-text.ts:8
Function
user_patterns
User-supplied pattern rules in the same shape as SECURITY_PATTERNS.
plugins/security-guidance/hooks/extensibility.py:84
Function
widthBucketOf
( columns: number | null, )
mods/diff/hooks/record/width-bucket-of/width-bucket-of.ts:10
Function
workingTreeTier
( context: Types.FetchContext, )
mods/diff/hooks/git/tiers/working-tree-tier.ts:19
Function
wrapSegments
( segments: readonly Segment[], cells: number, )
mods/diff/hooks/views/layout/wrap-segments/wrap-segments.ts:15
← previous
301–349 of 349, ranked by callers