Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PerpetualSoftware/pad
/ functions
Functions
28,840 in github.com/PerpetualSoftware/pad
⨍
Functions
28,840
◇
Types & classes
3,245
↓ 1 callers
Function
cursorAfter
(rows: readonly PagedRow[])
web/src/lib/utils/activityPaging.ts:30
↓ 1 callers
Function
cursorOf
( mod: Awaited<ReturnType<typeof loadPersistence>>, userId: string | null, ws: string, )
web/src/lib/stores/localIndexPersistenceCursorOrdering.idb.test.ts:24
↓ 1 callers
Function
cutCalendarDays
cutCalendarDays applies the cap to cells, which are in day order. It keeps whole days; the first day not kept is next_from (empty when it falls outsid
internal/server/handlers_calendar.go:378
↓ 1 callers
Function
cutKey
cutKey bounds a key's text to maxMapKeyBytes+1 bytes.
internal/logging/scrub.go:244
↓ 1 callers
Function
cutType
cutType bounds a type name inside a "<type ...>" label, so the address that follows it is never cut off.
internal/logging/scrub.go:236
↓ 1 callers
Method
cycleOne
cycleOne ends one workspace's coverage and re-establishes its subscription. EVERY VALIDATION, THE COVERAGE DROP AND THE TEARDOWN HAPPEN UNDER ONE LOC
internal/events/redis_heartbeat.go:731
↓ 1 callers
Function
dashboard
* A complete DashboardResponse with only `recent_activity` populated. * * Every array is present because the page reads `.length` on them * uncondi
web/src/routes/workspaceDashboardAgentName.svelte.test.ts:66
↓ 1 callers
Function
dashboard
* A complete DashboardResponse. Every array is present because the page reads * `.length` on them unconditionally in its section guards — a payload m
web/src/routes/workspaceDashboardOwnerDenial.svelte.test.ts:65
↓ 1 callers
Function
dateInput
(c: HTMLElement)
web/src/lib/components/fields/FieldEditor.datePicker.svelte.test.ts:149
↓ 1 callers
Function
dateJSON
(role string, at time.Time)
internal/store/commitment_cascade.go:713
↓ 1 callers
Method
dateTuples
dateTuples is every schedule's stored dates and its managed reminder, by item title.
internal/store/schedule_link_import_test.go:69
↓ 1 callers
Function
dayBoundary
(day: string, zone: string)
web/src/lib/calendar/monthGrid.ts:27
↓ 1 callers
Function
dayLabel
(at: string, now: Date = new Date())
web/src/lib/components/timeline/historyEvents.ts:410
↓ 1 callers
Function
dayLabel
(day: string)
web/src/lib/calendar/presentation.ts:74
↓ 1 callers
Function
dayRuns
(days: string[], empty: (day: string) => boolean)
web/src/lib/calendar/monthGrid.ts:120
↓ 1 callers
Function
daySummary
(entries: AgendaEntry[])
web/src/lib/calendar/presentation.ts:355
↓ 1 callers
Function
daysIn
daysIn returns the number of days in a month for a given year.
internal/schedule/internal/rrule/util.go:41
↓ 1 callers
Function
daysIn
(year: number, month: number)
web/src/lib/activity/activityFilters.ts:28
↓ 1 callers
Function
dbCmd
()
cmd/pad/groups.go:214
↓ 1 callers
Function
dbMigrateToPgCmd
()
cmd/pad/cmd_db.go:383
↓ 1 callers
Function
dbRepairNULCmd
()
cmd/pad/cmd_db_nul.go:96
↓ 1 callers
Function
dbScanNULCmd
()
cmd/pad/cmd_db_nul.go:40
↓ 1 callers
Function
dblclick
()
web/src/lib/components/common/Lightbox.svelte.test.ts:5922
↓ 1 callers
Function
dead
(overrides: Partial<DeadItemRoute> = {})
web/src/lib/collections/paneUrlParams.test.ts:116
↓ 1 callers
Function
deadChipInWorkspace
A chip addressed in a real workspace, dead from an archived-window probe.
web/src/lib/components/editor/attachmentChipPanel.svelte.test.ts:288
↓ 1 callers
Function
deadClient
deadClient returns a Redis client pointed at a closed port on loopback. Every command against it fails immediately — a genuine connection error, not a
internal/watchevents/redis_bus_test.go:36
↓ 1 callers
Function
deadPid
deadPid returns the pid of a child that has already exited.
internal/testtmp/lock_unix_test.go:18
↓ 1 callers
Function
deadlinePill
(deadline: string, behavior: CommitmentRoles['deadline_behavior'], zone: string, now = new Date(Date.now()), o
web/src/lib/calendar/presentation.ts:411
↓ 1 callers
Function
deadlineRolesSnapshot
(r scheduleRoles)
internal/store/commitment_renegotiate.go:271
↓ 1 callers
Method
debounceFor
debounceFor is the window the store applies per set: ReaskDebounce for an item-level set, none for a PerComment one, whose calls are one per comment a
internal/decision/runner.go:465
↓ 1 callers
Method
decideAppConsent
decideAppConsent completes an approved delegated sign-in: the gate again, the person's access choice, and the authorization code, whose session carrie
internal/server/app_delegated_consent.go:181
↓ 1 callers
Function
decideCheckout
( picked: BillingInterval, result: { url: string; interval?: string } )
web/src/lib/billing/checkoutDecision.ts:19
↓ 1 callers
Function
decisionBackoff
(attempts int)
internal/decision/runner.go:1016
↓ 1 callers
Function
decisionEntry
(overrides: Partial<TimelineEntry> = {})
web/src/lib/components/timeline/timelineStructuredEntries.svelte.test.ts:89
↓ 1 callers
Function
decisionLease
(t *testing.T, s *Store, itemID string)
internal/store/decisions_failopen_test.go:61
↓ 1 callers
Function
decisionPresent
(fieldsJSON, id string)
cmd/pad/notes.go:263
↓ 1 callers
Function
declaredAbandoned
declaredAbandoned returns the done field's abandoned_options as a lowercased set, or nil when the field declares none (the fallback case).
internal/models/terminal.go:233
↓ 1 callers
Function
declaredIn
declaredIn reports whether markdown.ts declares `sym` as its own symbol. The symbol must be followed by something that cannot continue a JavaScript i
internal/links/markdown_citation_test.go:176
↓ 1 callers
Function
declaredInputKeys
declaredInputKeys builds the set of input keys a tool accepts: the routing `action`, the implicit `workspace` (when the schema opts in), every declare
internal/mcp/catalog.go:641
↓ 1 callers
Function
declares
(name: string, raw: Node)
web/src/test/identityFenceGate.ts:343
↓ 1 callers
Method
declineCancelledResume
declineCancelledResume answers a caller that has already gone. SAME SHAPE AS THE CLOSED-BUS BRANCH — a closed channel, no replay, never nil. nil is m
internal/watchevents/redis_bus.go:858
↓ 1 callers
Function
declineInvitationCmd
()
cmd/pad/cmd_workspace.go:332
↓ 1 callers
Function
decodeChangesCursor
(s string)
internal/server/handlers_changes.go:52
↓ 1 callers
Function
decodeJSONRepairingNUL
decodeJSONRepairingNUL is decodeJSONWithLimit with exactly one difference, and the difference is deliberately NOT a bypass (DOC-2823 S3, BUG-2810). T
internal/server/server.go:3256
↓ 1 callers
Function
decodeNumbers
(blob string)
internal/store/items_convention_mirror.go:113
↓ 1 callers
Function
decodeUploader
The uploader header is percent-encoded UTF-8 (a header reads as Latin-1).
web/src/lib/components/editor/attachment-metadata.ts:73
↓ 1 callers
Function
decode_paths
(data)
scripts/ci-scope.py:38
↓ 1 callers
Method
decoded
* The `<img>` decoded `decodedSrc` at `naturalWidth x naturalHeight`. `gen` is * the `loadToken` the reporting element was mounted under. Ignored un
web/src/lib/attachments/viewerImageLoader.svelte.ts:101
↓ 1 callers
Method
decompressedCapMessage
decompressedCapMessage is the 413 for the decompressed ceiling. It states the effective limit and how it is derived, so an operator with a legitimatel
internal/server/handlers_import_bundle.go:152
↓ 1 callers
Function
dedupe
(in []string)
internal/links/markdown_citation_test.go:184
↓ 1 callers
Function
dedupe
(vs []violation)
internal/appstore/boundary_check_test.go:529
↓ 1 callers
Function
dedupeMemberSnapshots
dedupeMemberSnapshots keeps ONE snapshot per item — the last, which is the latest state — preserving input order otherwise. One bulk member can write
internal/store/event_outbox.go:2461
↓ 1 callers
Function
dedupeStrings
dedupeStrings returns values with each string once, in first-seen order.
internal/server/handlers_oauth.go:2521
↓ 1 callers
Function
defaultCollabBaseUrl
(itemID: string)
web/src/lib/collab/wsProvider.svelte.ts:1665
↓ 1 callers
Function
defaultPushMessage
(ref: string, title: string)
web/src/lib/push/message.ts:117
↓ 1 callers
Function
defaultStatus
defaultStatus renders an empty status as a readable placeholder for error messages.
internal/server/handlers_playbooks.go:612
↓ 1 callers
Method
defaultTransport
defaultTransport lazily builds and memoizes the package's safe transport. Reusing one transport across Fetch calls keeps the keep-alive pool bounded a
internal/urlimport/fetch.go:254
↓ 1 callers
Function
defer
(sink: Array<{ resolve: (v: unknown) => void; reject: (e: unknown) => void }>)
web/src/routes/[username]/[workspace]/[collection]/restoreReasonToast.svelte.test.ts:52
↓ 1 callers
Function
defer
(sink: Array<{ resolve: (v: unknown) => void; reject: (e: unknown) => void }>)
web/src/routes/[username]/[workspace]/[collection]/collectionIdentityFence.svelte.test.ts:156
↓ 1 callers
Function
defer
(sink: Array<{ resolve: (v: unknown) => void; reject: (e: unknown) => void }>)
web/src/routes/[username]/[workspace]/[collection]/sortControlByView.svelte.test.ts:41
↓ 1 callers
Function
defer
(sink: Array<{ resolve: (v: unknown) => void; reject: (e: unknown) => void }>)
web/src/routes/[username]/[workspace]/[collection]/collectionChatUrlWrites.svelte.test.ts:119
↓ 1 callers
Function
defer
(sink: Array<{ resolve: (v: unknown) => void; reject: (e: unknown) => void }>)
web/src/lib/nav/shallowGuards.collection.svelte.test.ts:44
↓ 1 callers
Function
deferBtn
(ref: string)
web/src/routes/(console)/needs/needsPage.svelte.test.ts:702
↓ 1 callers
Function
deferCall
()
web/src/routes/(console)/needs/needsPage.svelte.test.ts:251
↓ 1 callers
Function
deferChanges
`/items-changes` answered by hand, one deferred per call, recording `since`.
web/src/lib/stores/localIndexReconcileOneReadPerAsk.svelte.test.ts:44
↓ 1 callers
Function
deferOne
()
web/src/lib/components/chat/ChatHost.svelte.test.ts:518
↓ 1 callers
Function
deferred
()
web/src/routes/(console)/agenda/agenda.svelte.test.ts:31
↓ 1 callers
Function
deferred
()
web/src/routes/(console)/settings/account/task4129SettleFences.svelte.test.ts:48
↓ 1 callers
Function
deferred
()
web/src/routes/(console)/settings/account/task4315ChatSetting.svelte.test.ts:12
↓ 1 callers
Function
deferred
()
web/src/routes/(console)/settings/account/task4101Timezone.svelte.test.ts:16
↓ 1 callers
Function
deferred
()
web/src/routes/[username]/[workspace]/playbooks/[slug]/playbookIdentityFence.svelte.test.ts:27
↓ 1 callers
Function
deferred
()
web/src/routes/[username]/[workspace]/settings/inviteFlow.svelte.test.ts:52
↓ 1 callers
Function
deferred
()
web/src/routes/[username]/[workspace]/settings/settingsLoadIdentityOrder.svelte.test.ts:42
↓ 1 callers
Function
deferred
()
web/src/routes/[username]/[workspace]/settings/bug3260NameOnColdLoad.svelte.test.ts:36
↓ 1 callers
Function
deferred
()
web/src/routes/[username]/[workspace]/settings/settingsIdentityFence.svelte.test.ts:50
↓ 1 callers
Function
deferred
()
web/src/routes/[username]/[workspace]/tags/tagsLoadError.svelte.test.ts:29
↓ 1 callers
Function
deferred
()
web/src/routes/[username]/[workspace]/tags/tagsIdentityFence.svelte.test.ts:29
↓ 1 callers
Function
deferred
()
web/src/lib/components/shareDialogIdentityFence.svelte.test.ts:82
↓ 1 callers
Function
deferred
()
web/src/lib/components/layout/createWorkspaceModalIdentity.svelte.test.ts:53
↓ 1 callers
Function
deferred
()
web/src/lib/components/timeline/ItemTimeline.lifecycle.svelte.test.ts:117
↓ 1 callers
Function
deferred
()
web/src/lib/components/chat/ChatEmptyState.svelte.test.ts:175
↓ 1 callers
Function
deferred
()
web/src/lib/components/items/ItemCommitmentEditDialog.svelte.test.ts:20
↓ 1 callers
Function
deferred
A promise plus its resolver, so a test can control when a fetch lands.
web/src/lib/components/items/ItemAttachmentStrip.svelte.test.ts:141
↓ 1 callers
Function
deferred
()
web/src/lib/components/items/ItemCommitmentDateDialog.svelte.test.ts:8
↓ 1 callers
Function
deferred
()
web/src/lib/components/items/itemCommitmentActions.svelte.test.ts:16
↓ 1 callers
Function
deferred
A promise plus its resolver, so a test can control when a fetch lands.
web/src/lib/components/settings/StorageTab.svelte.test.ts:91
↓ 1 callers
Function
deferred
A promise plus the handle to settle it, so a test can choose the order.
web/src/lib/stores/workspaceCreateVsLoadAll.svelte.test.ts:68
↓ 1 callers
Function
deferred
()
web/src/lib/stores/tabs.svelte.test.ts:91
↓ 1 callers
Function
deferred
()
web/src/lib/stores/chatSetting.svelte.test.ts:28
↓ 1 callers
Function
deferred
()
web/src/lib/stores/workspaceIndexEntry.test.ts:22
↓ 1 callers
Function
deferred
()
web/src/lib/stores/homeOverview.svelte.test.ts:15
↓ 1 callers
Function
deferred
()
web/src/lib/stores/localIndexInverseColdCheck.svelte.test.ts:60
↓ 1 callers
Function
deferred
A promise plus the handle to settle it, so a test can choose the order.
web/src/lib/stores/workspaceLoadAllOrdering.svelte.test.ts:31
↓ 1 callers
Function
deferred
()
web/src/lib/stores/workspaceIdentityReset.svelte.test.ts:60
↓ 1 callers
Function
deferred
A promise plus its resolver, so a test can hold `/me` open and observe the window.
web/src/lib/stores/workspaceRepeatResolve.svelte.test.ts:64
↓ 1 callers
Function
deferred
* TASK-2947 — the keyed single-flight loader's own contract. * * The two stores that use it have their own tests for what they do with it * (`colle
web/src/lib/stores/singleFlight.test.ts:20
↓ 1 callers
Function
deferred
()
web/src/lib/items/fieldWriteOrder.test.ts:49
↓ 1 callers
Function
deferredBehindSend
A send held in flight, a bump deferred behind it, and a peer row the deferred refresh must fetch.
web/src/lib/stores/chatThread.svelte.test.ts:1111
↓ 1 callers
Function
deferredOnchange
An onchange whose writes settle only when the test says so.
web/src/lib/components/fields/FieldEditor.quickClicks.svelte.test.ts:63
↓ 1 callers
Function
deferredOnchange
An onchange whose writes settle only when the test says so.
web/src/lib/components/fields/FieldEditor.multiSelect.svelte.test.ts:57
← previous
next →
10,801–10,900 of 28,840, ranked by callers