Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anthropics/claude-code
/ functions
Functions
1,222 in github.com/anthropics/claude-code
⨍
Functions
1,222
◇
Types & classes
59
↓ 80 callers
Method
get
(index: number)
mods/types/claude-code.d.ts:20887
↓ 39 callers
Method
has
(name: string)
mods/types/claude-code.d.ts:20799
↓ 39 callers
Method
set
(index: number, value?: any)
mods/types/claude-code.d.ts:20889
↓ 12 callers
Method
delete
(name: string)
mods/types/claude-code.d.ts:20796
↓ 12 callers
Function
run
mods/diff/tests/git/fetch-hunks.test.ts:43
↓ 9 callers
Function
calendarFieldsAt
( ms: number, zone: string, )
mods/easel/hooks/core/calendar/calendar-fields-at/calendar-fields-at.ts:15
↓ 8 callers
Function
textShapesOf
(toLay: Types.TextToLay)
mods/easel/hooks/core/layout/text-shapes-of/text-shapes-of.ts:11
↓ 6 callers
Function
answersOf
( numstat: string, bodies: Readonly<Record<string, string>>, dirty: readonly string[] = Object.keys(bodi
mods/diff/tests/fixtures/answers-of.ts:14
↓ 6 callers
Function
redraw
(engine: Host)
mods/diff/hooks/register.ts:228
↓ 6 callers
Function
stringsOf
(value: unknown)
mods/sec-default/hooks/early-run/strings-of.ts:7
↓ 6 callers
Function
unitOf
(seriesToRead: Reading.Series[])
mods/easel/hooks/core/charting/unit-of/unit-of.ts:9
↓ 5 callers
Function
countOf
(items: readonly T[], passes: (item: T) => boolean)
mods/diff/hooks/count-of/count-of.ts:9
↓ 5 callers
Function
isRecord
(value: unknown)
mods/telemetry/hooks/entries/is-record/is-record.ts:7
↓ 5 callers
Function
keptOf
(items: readonly (T | null)[])
mods/diff/hooks/kept-of/kept-of.ts:8
↓ 5 callers
Function
maxWidthOf
(texts: string[])
mods/easel/hooks/core/layout/max-width-of/max-width-of.ts:9
↓ 5 callers
Function
pixelsAcross
(columns: number)
mods/easel/hooks/core/svg/pixels-across/pixels-across.ts:9
↓ 5 callers
Function
refresh
* One read of the diff, covering every change seen before it starts. A call * made during a read is kept as one later read. So is a call made durin
mods/diff/hooks/register.ts:363
↓ 5 callers
Function
refusal
(what: string, method: Method = 'log')
mods/telemetry/hooks/entries/refusal/refusal.ts:16
↓ 5 callers
Function
unread
(why: string)
mods/easel/hooks/core/cells/unread/unread.ts:9
↓ 5 callers
Function
writtenPathOf
({ tool, input }: Call)
mods/sec-default/hooks/early-run/written-path-of.ts:9
↓ 4 callers
Function
diffStat
( kit: Kit, added: number, removed: number, )
mods/diff/hooks/views/sections/diff-stat/diff-stat.tsx:17
↓ 4 callers
Function
foldedName
(name: string)
mods/sec-default/hooks/policy/managed-tools-restored/is-org-tool/tool-prefix-of/folded-name/folded-name.ts:12
↓ 4 callers
Function
isRecord
(value: unknown)
mods/diff/hooks/is-record/is-record.ts:7
↓ 4 callers
Function
isScript
({ tool }: Call)
mods/sec-default/hooks/early-run/is-script.ts:11
↓ 4 callers
Function
legendOf
(needs: Types.LegendNeeds)
mods/easel/hooks/core/layout/legend-of/legend-of.ts:23
↓ 4 callers
Function
legendRowOf
( legend: Types.Legend, row: Charting.LegendRow, top: number, )
mods/easel/hooks/core/layout/legend-row-of/legend-row-of.ts:19
↓ 4 callers
Function
namedTable
( source: string, columns: string[], rows: Cells.Cell[][], )
mods/easel/hooks/core/tables/named-table/named-table.ts:12
↓ 4 callers
Function
openOnFirstEdit
(engine: Host)
mods/diff/hooks/register.ts:731
↓ 4 callers
Function
ownOption
(policy: Settings, name: string)
mods/sec-default/hooks/policy/own-option/own-option.ts:16
↓ 4 callers
Function
pixelsDown
(rows: number)
mods/easel/hooks/core/svg/pixels-down/pixels-down.ts:10
↓ 4 callers
Function
wallClockMs
(fields: readonly number[])
mods/easel/hooks/core/calendar/wall-clock-ms/wall-clock-ms.ts:7
↓ 3 callers
Method
append
(name: string, value: string)
mods/types/claude-code.d.ts:20795
↓ 3 callers
Function
arrayOf
(value: unknown)
mods/diff/hooks/array-of/array-of.ts:8
↓ 3 callers
Function
ask
( mode: Git.BaseMode, narrowed: Pick<VcsDiffInput, 'paths' | 'isStatOnly'>, )
mods/diff/hooks/backend/vcs-backend-of/vcs-backend-of.ts:33
↓ 3 callers
Function
bounded
(call: Call)
mods/sec-default/hooks/early-run/bounded.ts:15
↓ 3 callers
Function
cellOf
(node: unknown)
mods/easel/hooks/core/tables/cell-of/cell-of.ts:9
↓ 3 callers
Function
checkedMagnitude
( value: number, unit: string | null, )
mods/easel/hooks/core/cells/checked-magnitude/checked-magnitude.ts:16
↓ 3 callers
Function
dialogEntriesOf
( model: PaneState.PaneModel, )
mods/diff/hooks/views/dialog-pane/dialog-entries-of/dialog-entries-of.ts:12
↓ 3 callers
Function
dialogPane
()
mods/diff/hooks/register.ts:207
↓ 3 callers
Function
dialogWindowOf
( model: Pick<PaneState.PaneModel, 'selectedPath'>, paths: readonly string[], )
mods/diff/hooks/views/dialog-pane/dialog-window-of/dialog-window-of.ts:12
↓ 3 callers
Function
diffDataOf
( context: Types.FetchContext, result: Types.MergedResult, basis: DiffBasis, )
mods/diff/hooks/git/tiers/diff-data-of/diff-data-of.ts:13
↓ 3 callers
Function
drawnChartOf
( data: Reading.Data, request: CoreCall.ChartRequest, usage: Usage, )
mods/easel/hooks/core/easel/drawn-chart-of/drawn-chart-of.ts:22
↓ 3 callers
Function
endOverdueRest
* Ends a wait whose time has passed but whose timer never fired because the * host refused it, so a refused timer cannot hold reads for the whole
mods/diff/hooks/register.ts:533
↓ 3 callers
Function
entriesAt
( node: unknown, path: string, )
mods/easel/hooks/core/wire/entries-at/entries-at.ts:13
↓ 3 callers
Function
entryKindsOf
(engine: Host)
mods/diff/hooks/entry-kinds-of/entry-kinds-of.ts:12
↓ 3 callers
Function
formatAll
( format: Types.NumberFormat, values: number[], )
mods/easel/hooks/core/numbers/format-all/format-all.ts:16
↓ 3 callers
Function
graphemesOf
(text: string)
mods/easel/hooks/core/texts/graphemes-of/graphemes-of.ts:10
↓ 3 callers
Function
hunkHeaderOf
(hunk: Git.Hunk)
mods/diff/hooks/views/detail/hunk-header-of/hunk-header-of.ts:14
↓ 3 callers
Function
isPaneSeen
()
mods/diff/hooks/register.ts:84
↓ 3 callers
Function
isSameCall
(one: Call, other: Call)
mods/sec-default/hooks/early-run/is-same-call.ts:12
↓ 3 callers
Function
isSameVerdict
( one: EventResult<'tool.check'>, other: EventResult<'tool.check'> | undefined, )
mods/sec-default/hooks/held-verdict/verdicts/is-same-verdict.ts:11
↓ 3 callers
Function
isWeekend
(ms: number, zone: string)
mods/easel/hooks/core/calendar/is-weekend/is-weekend.ts:12
↓ 3 callers
Function
joinedName
(name: string)
mods/sec-default/hooks/policy/managed-tools-restored/joined-name.ts:11
↓ 3 callers
Function
listingOf
(entries: Listing)
mods/diff/tests/git/fetch-diff.test.ts:19
↓ 3 callers
Function
loadBodies
(engine: Host)
mods/diff/hooks/register.ts:244
↓ 3 callers
Function
messageOf
(error: unknown)
mods/diff/hooks/message-of/message-of.ts:8
↓ 3 callers
Function
modeChoiceOf
(mode: Modes.Mode)
mods/agents-md/hooks/telemetry/mode-choice-of.ts:10
↓ 3 callers
Function
namesSettingsFile
( $: EngineInterface, texts: readonly string[], served: readonly string[], )
mods/sec-default/hooks/early-run/names-settings-file.ts:17
↓ 3 callers
Function
pinBackend
(engine: Host, isAsked = false)
mods/diff/hooks/register.ts:125
↓ 3 callers
Function
pixelPoint
(column: number, row: number)
mods/easel/hooks/core/svg/pixel-point/pixel-point.ts:11
↓ 3 callers
Function
placed
( $: EngineInterface, path: string, steps?: number, )
mods/sec-default/hooks/early-run/placed.ts:18
↓ 3 callers
Function
projectDirOf
(path: string)
mods/agents-md/hooks/files/project-dir-of.ts:10
↓ 3 callers
Function
scheduleRefresh
(engine: Host)
mods/diff/hooks/register.ts:579
↓ 3 callers
Function
storedTextOf
(storedResult: unknown, fallback = '')
mods/easel/hooks/shell/stored-text-of/stored-text-of.ts:10
↓ 3 callers
Function
summedSeries
( seriesToAdd: Types.SizedSeries[], name: string, )
mods/easel/hooks/core/charting/summed-series/summed-series.ts:14
↓ 3 callers
Function
textsIn
(lines: string[], field: Types.Field)
mods/easel/hooks/core/tables/tables-of-text/tables-of-plain-text/aligned-reading/cells-by-position/columns-of-fields/texts-in/texts-in.ts:10
↓ 3 callers
Function
timeAt
(ms: number, isZoned: boolean)
mods/easel/hooks/core/cells/read-time/time-at/time-at.ts:10
↓ 3 callers
Method
toString
()
mods/types/claude-code.d.ts:20821
↓ 3 callers
Function
truncateMiddle
(text: string, maxWidth: number)
mods/easel/hooks/core/texts/truncate-middle/truncate-middle.ts:16
↓ 3 callers
Function
typicalStepMs
(step: Types.Step)
mods/easel/hooks/core/calendar/typical-step-ms/typical-step-ms.ts:9
↓ 3 callers
Function
widthOf
(text: string)
mods/easel/hooks/core/texts/width-of/width-of.ts:11
↓ 3 callers
Function
withUntracked
( context: Types.FetchContext, result: Types.NumstatResult, scope: Types.UntrackedScope, )
mods/diff/hooks/git/tiers/with-untracked/with-untracked.ts:20
↓ 3 callers
Function
wrappedTextOf
( room: Types.Room, texts: string[], ink: Shapes.Ink, )
mods/easel/hooks/core/layout/wrapped-text-of/wrapped-text-of.ts:15
↓ 2 callers
Function
archOf
(machine: string)
mods/telemetry/hooks/context/machine/arch-of/arch-of.ts:8
↓ 2 callers
Function
asBars
( request: CoreCall.ChartRequest, )
mods/easel/hooks/core/easel/chart-from-call/as-bars/as-bars.ts:10
↓ 2 callers
Function
askKeptOpen
(engine: Host)
mods/diff/hooks/register.ts:519
↓ 2 callers
Function
barRowsOf
( shownBars: Types.SizedSeries[], allValues: number[], options: Types.BarRowsOptions, )
mods/easel/hooks/core/charting/chart-of/bar-rows-of/bar-rows-of.ts:25
↓ 2 callers
Function
barValueOf
(barSeries: Types.SizedSeries)
mods/easel/hooks/core/charting/bar-value-of/bar-value-of.ts:9
↓ 2 callers
Function
bareNameReadsUnder
(name: string, prefix: string)
mods/sec-default/hooks/policy/managed-tools-restored/bare-name-reads-under.ts:14
↓ 2 callers
Function
baseNameOf
(path: string)
mods/diff/hooks/classify/base-name-of/base-name-of.ts:7
↓ 2 callers
Function
bodyStampOf
(data: Git.DiffData)
mods/diff/hooks/register.ts:274
↓ 2 callers
Function
bySlug
(...probes: Backend.BackendProbe[])
mods/diff/tests/backend/backend-of.test.ts:11
↓ 2 callers
Function
cacheOutcome
( cache: Types.ChartCache, id: string, outcome: Easel.Outcome, )
mods/easel/hooks/shell/cache-outcome/cache-outcome.ts:16
↓ 2 callers
Function
cellOfSpans
( spans: Types.Span[], start: number, partialBlocks: readonly string[], )
mods/easel/hooks/core/raster/cell-of-spans/cell-of-spans.ts:18
↓ 2 callers
Function
cellWidth
(text: string)
mods/diff/hooks/views/layout/cell-width/cell-width.ts:15
↓ 2 callers
Function
cellsUnder
( columns: string[], cells: Map<string, Cells.Cell>, )
mods/easel/hooks/core/tables/cells-under/cells-under.ts:11
↓ 2 callers
Function
chainRootOf
( file: InstructionFile, byPath: ReadonlyMap<string, InstructionFile>, )
mods/agents-md/hooks/files/chain-root-of.ts:13
↓ 2 callers
Function
chargedWidth
(text: string)
mods/diff/hooks/views/layout/charged-width/charged-width.ts:14
↓ 2 callers
Function
checkedProps
( props: unknown, method: Method, )
mods/telemetry/hooks/entries/checked-props/checked-props.ts:16
↓ 2 callers
Function
closePane
(engine: Host)
mods/diff/hooks/register.ts:718
↓ 2 callers
Function
columnNamed
(table: Types.Table, name: string)
mods/easel/hooks/core/casting/column-named/column-named.ts:10
↓ 2 callers
Function
command
()
mods/diff/tests/register.test.ts:354
↓ 2 callers
Function
configFolders
( $: EngineInterface, first: FirstFolder, )
mods/sec-default/hooks/early-run/config-folders.ts:14
↓ 2 callers
Function
cutTable
()
mods/easel/hooks/core/tables/tables-of-text/cut-table/cut-table.ts:8
↓ 2 callers
Function
dataFill
(ink: Shapes.Ink, attributes = '')
mods/easel/hooks/core/svg/data-fill/data-fill.ts:10
↓ 2 callers
Function
dataOf
(backend: Backend.Backend, mode: Git.BaseMode)
mods/diff/tests/backend/vcs-backend-of.test.ts:72
↓ 2 callers
Function
dataOf
( files: readonly Git.FileStat[], overrides: Partial<Git.DiffData> = {}, )
mods/diff/tests/views/pane-view.test.ts:13
↓ 2 callers
Function
datingsOf
( context: Types.DatingContext, paths: readonly string[], )
mods/diff/hooks/git/probes/datings-of/datings-of.ts:17
↓ 2 callers
Function
decimalsFor
(size: number, digits: number)
mods/easel/hooks/core/numbers/decimals-for/decimals-for.ts:10
↓ 2 callers
Function
depsOf
( script: Script, overrides: Partial<Git.GitDeps> = {}, )
mods/diff/tests/git/fetch-diff.test.ts:22
next →
1–100 of 1,222, ranked by callers