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
validateLinkEdge
(e Edge)
internal/schedule/links.go:566
↓ 1 callers
Function
validateRegisterRedirectURI
validateRegisterRedirectURI enforces OAuth 2.1's exact-match requirement at registration time (matching is at /authorize time; here we just verify the
internal/server/handlers_oauth.go:423
↓ 1 callers
Method
validateReopenDeadlineQ
(q Queryer, sc *models.ItemSchedule, u *resolutionUndo, now time.Time)
internal/store/schedule_reopen.go:376
↓ 1 callers
Function
validateResults
validateResults pins the answer to the request: the same length and the same ids in the same order, or the whole batch is retry. A status outside the
internal/notify/gateway.go:158
↓ 1 callers
Function
validateRolesPatch
validateRolesPatch checks only individual members before opening a transaction. Pairing and deadline protection depend on the locked stored roles inst
internal/store/commitment.go:450
↓ 1 callers
Function
validateTwoFAChallengeEpoch
validateTwoFAChallengeEpoch verifies a challenge token's signature, expiry, and IP binding. Returns the user ID and the credential epoch the challenge
internal/server/twofactor_challenge.go:109
↓ 1 callers
Function
validateVerificationInput
validateVerificationInput normalizes in and returns the first refusal, or "" when the batch is well-formed. Criterion ids are checked against the item
internal/server/handlers_verifications.go:274
↓ 1 callers
Function
validateWorkspaceTabLastRoute
validateWorkspaceTabLastRoute accepts only a same-workspace path: the workspace's own /{owner}/{ws} or anything under /{owner}/{ws}/, with an optional
internal/server/handlers_workspace_tabs.go:272
↓ 1 callers
Function
validationHintFor
validationHintFor generates the actionable hint for ErrValidationFailed. The backend message usually pinpoints the field, so it's prioritized.
internal/mcp/errors.go:1701
↓ 1 callers
Method
value
value walks one value whose first token is (k, str). It answers false for malformed input. inUserData says the walk has left the REQUEST's own struct
internal/server/middleware_request_text.go:589
↓ 1 callers
Function
valueOrEmpty
diffFields compares old and new field JSON strings and returns a human-readable summary of changes (e.g. "status: open → done, priority: medium → high
internal/server/handlers_documents.go:524
↓ 1 callers
Function
values
(name: RegExp)
web/src/lib/components/calendar/CalendarFieldPicker.svelte.test.ts:13
↓ 1 callers
Function
verificationActivityMeta
verificationActivityMeta is the activity's metadata: the run and a verdict count, never evidence text.
internal/server/handlers_verifications.go:388
↓ 1 callers
Function
verificationImportable
verificationImportable checks a bundle's verification row against every rule a live write enforces, and returns its created_at in the fixed-width form
internal/store/verifications.go:179
↓ 1 callers
Function
verify
(dialog: HTMLElement, label: string, value: string)
web/src/routes/(console)/settings/account/task3867EditTokenAccess.svelte.test.ts:67
↓ 1 callers
Function
verifyAppSignature
(t *testing.T, secret string, h recordedHook)
internal/server/handlers_apps_delivery_test.go:94
↓ 1 callers
Function
verifyMigratedGates
verifyMigratedGates compares the captured gate data after remapping source item and schedule ids to the destination. Reading the bundle never opens ga
cmd/pad/cmd_db.go:1107
↓ 1 callers
Function
version
(id: string, sec: number, v: Partial<Version> = {})
web/src/lib/components/timeline/historyEvents.test.ts:42
↓ 1 callers
Function
version
(id: string, secAgo: number, v: Partial<Version> = {})
web/src/lib/components/timeline/HistoryView.svelte.test.ts:50
↓ 1 callers
Function
version
()
web/src/lib/components/chat/ChatLink.svelte.test.ts:22
↓ 1 callers
Function
versionEntry
(id string, at time.Time, source string)
internal/server/handlers_timeline_collapse_test.go:24
↓ 1 callers
Function
versionEntry
(id: string, via?: { id: string; name: string })
web/src/lib/components/timeline/timelineViaAppLabel.svelte.test.ts:64
↓ 1 callers
Function
versionEntry
(imported: boolean)
web/src/lib/components/timeline/timelineImportedMarker.svelte.test.ts:58
↓ 1 callers
Function
versionErrorOnDowngradeOpen
( userId: string | null, ws: string, oldVersion: number, )
web/src/test/idbHarness.ts:206
↓ 1 callers
Function
versionIDs
versionIDs answers the item's version ids ordered by the given column.
internal/store/bug3751_migration_054_test.go:73
↓ 1 callers
Function
via
(cliFn, mcpFn)
plugin/hooks/register.js:149
↓ 1 callers
Function
viaAppTitle
(name: string)
web/src/lib/utils/viaApp.ts:8
↓ 1 callers
Function
view
()
web/src/lib/stores/localIndexReconcileDuplicate.svelte.test.ts:45
↓ 1 callers
Function
viewHasUnparentedFilter
(filters: ViewFilterCondition[] | undefined)
web/src/lib/collections/unparentedFilter.ts:137
↓ 1 callers
Function
viewerConfirmCancelRow
(page: Page)
web/e2e/lib/attachment-viewer.ts:189
↓ 1 callers
Function
viewerConfirmDeleteRow
(page: Page)
web/e2e/lib/attachment-viewer.ts:187
↓ 1 callers
Function
viewerOpen
()
web/src/lib/components/timeline/ItemTimeline.svelte.test.ts:271
↓ 1 callers
Function
viewerOpenAnchor
(page: Page)
web/e2e/lib/attachment-viewer.ts:174
↓ 1 callers
Function
viewerRoot
The shape a portaled viewer root has, including the marker class.
web/src/lib/a11y/viewerBackdrop.svelte.test.ts:835
↓ 1 callers
Function
viewerShowing
The attachment id the open viewer is currently SHOWING, or null if closed.
web/src/lib/components/timeline/ItemTimeline.svelte.test.ts:264
↓ 1 callers
Function
viewers
* Counted per owner so a double-open is visible. BOTH producers now emit on the * ONE unified surface channel (TASK-2489 T4a) — the NodeView no longe
web/src/lib/components/timeline/timelineEditorOwnedImages.svelte.test.ts:203
↓ 1 callers
Function
viewers
Viewers actually on screen — the real component's root.
web/src/lib/components/editor/attachmentImageViewerHost.svelte.test.ts:94
↓ 1 callers
Function
viewport
()
web/src/lib/components/graph/ItemGraph.svelte.test.ts:74
↓ 1 callers
Function
violation
(literal: string)
web/src/lib/items/staleBodyKeptBody.test.ts:34
↓ 1 callers
Function
visibleFields
(fields: FieldDef[])
web/src/lib/components/share/shareView.ts:286
↓ 1 callers
Function
visibleRows
(items: readonly T[], cap: number, expanded: boolean)
web/src/lib/dashboard/caps.ts:39
↓ 1 callers
Function
visibleSeqs
()
web/src/lib/stores/chatThread.property.svelte.test.ts:414
↓ 1 callers
Function
visit
(n: Node, ancestors: Node[])
web/src/lib/components/items/itemDetailShadowReads.test.ts:34
↓ 1 callers
Function
vocabularyHash
()
web/src/test/identityFenceGate.ts:261
↓ 1 callers
Function
waitAllFrozen
waitAllFrozen polls until the room holds at least one conn and EVERY conn is frozen — the state ForceRefreshRoom establishes before it runs its transa
internal/collab/applier_precheck_test.go:70
↓ 1 callers
Function
waitAppendFailed
waitAppendFailed waits until the room's only conn has recorded a failed append.
internal/collab/bug3749_applier_ack_durable_test.go:204
↓ 1 callers
Method
waitChunkDrained
waitChunkDrained blocks until none of ids has a job claimable now (see BackfillEffort), polling at backfillPoll. The check runs first, so an already-d
internal/decision/effort_backfill.go:186
↓ 1 callers
Function
waitConnCount
waitConnCount polls until the room holds exactly n connections.
internal/collab/applier_precheck_test.go:52
↓ 1 callers
Function
waitForBufferedCount
waitForBufferedCount blocks until the workspace's replay buffer holds n events, so a test can sequence publishes rather than race them.
internal/events/redis_subscribe_confirm_test.go:554
↓ 1 callers
Function
waitForBulk
(index: number)
web/src/routes/[username]/[workspace]/[collection]/restoreReasonToast.svelte.test.ts:157
↓ 1 callers
Function
waitForBulk
(index: number)
web/src/routes/[username]/[workspace]/[collection]/collectionIdentityFence.svelte.test.ts:371
↓ 1 callers
Function
waitForFrameRefusing
waitForFrameRefusing is waitForFrameWithEvent with a forbidden type: it fails if `refuse` arrives while waiting for `want`, instead of reading past it
internal/server/handlers_stream_gap_test.go:168
↓ 1 callers
Function
waitForHealth
(api: Awaited<ReturnType<typeof request.newContext>>, baseURL: string)
web/e2e/global-setup.ts:154
↓ 1 callers
Function
waitForSubscriberCount
waitForSubscriberCount is waitForSubscribers when the number matters — two replicas on one Redis, where "someone is listening" is satisfied by the fir
internal/events/redis_namespace_test.go:218
↓ 1 callers
Function
waitForThread
(page: Page, n: number, rowsWanted: number)
web/e2e/chat-thread-refs.spec.ts:77
↓ 1 callers
Function
waitForWorkspaceSubscribers
waitForWorkspaceSubscribers blocks until n local subscribers are registered for the workspace — registration, not admission, which is the moment the c
internal/events/redis_subscribe_confirm_test.go:569
↓ 1 callers
Function
waitNoConns
waitNoConns polls until the room for itemID has zero connections but is still registered with the manager — the grace-TTL window, which is the state t
internal/collab/applier_precheck_test.go:30
↓ 1 callers
Method
waitRestoreResolved
waitRestoreResolved blocks until the in-progress restore (if any) resolves. Called by a round-trip the restore finalized to not-persisted, so it doesn
internal/collab/restore_coord.go:151
↓ 1 callers
Function
waitUntilWorkspaceIdle
waitUntilWorkspaceIdle waits for the held connection's Unsubscribe to land. Cancelling the request context returns from the client side immediately; t
internal/server/handlers_stream_gap_test.go:383
↓ 1 callers
Method
waiters
waiters counts distinct backends waiting on the gate's advisory keys in THIS database. Advisory keys land in pg_locks as classid = key>>32, objid = ke
internal/store/items_cross_workspace_copy_pg_test.go:248
↓ 1 callers
Function
walk
(node: Node, visit: (n: Node) => void)
web/src/lib/eachKeyCensus.test.ts:45
↓ 1 callers
Function
walk
(dir: string, out: string[] = [])
web/src/lib/components/editor/attachmentImageNoOverlay.test.ts:41
↓ 1 callers
Function
walk
(dir: string, rel = '')
web/src/lib/attachments/pdfjsBuildOutput.ts:44
↓ 1 callers
Function
walk
(seed: number, trace: string[])
web/src/lib/stores/chatThread.property.svelte.test.ts:394
↓ 1 callers
Function
walk
(dir: string, out: string[] = [])
web/src/lib/stores/chatSurfaceCallers.test.ts:20
↓ 1 callers
Function
walk
(dir: string, out: string[] = [])
web/src/lib/chat/chatLinkCensus.test.ts:14
↓ 1 callers
Function
walk
(dir: string, out: string[] = [])
web/src/lib/services/syncSubscriberGuards.test.ts:25
↓ 1 callers
Function
walk
(dir: string, out: string[] = [])
web/src/lib/nav/shallowGuards.test.ts:25
↓ 1 callers
Function
walk
(dir: string, out: string[] = [])
web/src/test/chatHistoryScan.ts:34
↓ 1 callers
Function
walk
(list: CSSRuleList)
web/e2e/attachment-viewer-modal.spec.ts:356
↓ 1 callers
Function
walkAllocs
walkAllocs returns the walked map and the bytes allocated walking it.
internal/logging/redaction_followups_test.go:1419
↓ 1 callers
Function
walkArtifactNode
walkArtifactNode recursively walks a yaml.Node tree enforcing the depth, node-count, and alias limits. It increments *nodes per visited node and *alia
internal/server/artifact_import.go:188
↓ 1 callers
Function
walkObjects
(v any, fn func(map[string]any))
internal/mcp/chatgpt_project.go:323
↓ 1 callers
Method
walkRoot
(rootPkg *packages.Package)
internal/appstore/boundary_check_test.go:254
↓ 1 callers
Function
walkable
walkable reports whether v is a composite (or a named string) that redactAttr should inspect.
internal/logging/scrub.go:504
↓ 1 callers
Function
wallOffset
(date: string, time: string, toDate: string, toTime: string)
web/src/lib/commitment.ts:100
↓ 1 callers
Function
wantFallbackError
wantFallbackError is the exact last_error the fail-open path writes: the fixed text, plus the SQLSTATE on Postgres (a RAISE EXCEPTION is P0001). SQLit
internal/store/decisions_failopen_test.go:21
↓ 1 callers
Function
warnOrphanedValues
--- library --- warnOrphanedValues prints to STDERR, one line per removal, what a schema update left behind on items (TASK-2188): a removed field, or
cmd/pad/cmd_collection.go:633
↓ 1 callers
Function
warnRelativeDataDir
warnRelativeDataDir emits the warning once per process, naming the absolute path this process resolved, however many times config is read.
internal/config/config.go:374
↓ 1 callers
Function
warnUnguardedContentWrite
warnUnguardedContentWrite tells the caller, on stderr, that its body write carried no version token and no --replace (PLAN-3555 phase 1). Decided from
cmd/pad/cmd_item.go:4760
↓ 1 callers
Function
warningsMentioning
warningsMentioning returns the warnings naming key. The import door renders every warnings member into one flat []string, so a test asserting on the w
internal/server/handlers_artifact_import_relation_carry_test.go:306
↓ 1 callers
Function
watchCmd
()
cmd/pad/cmd_project.go:1301
↓ 1 callers
Function
watchCmdGroup
watchCmdGroup is `pad watch` (TASK-2533). Named ...Group, not watchCmd, because that identifier is already taken by `pad project watch` (cmd_project.g
cmd/pad/cmd_watch.go:238
↓ 1 callers
Function
watchFitBox
(onChange: (box: FitBox) => void)
web/src/lib/chat/viewport.ts:15
↓ 1 callers
Function
watchFlush
Records whether a collab-snapshot PATCH carrying `marker` has been sent.
web/e2e/task-2232-coalesced-flush.spec.ts:25
↓ 1 callers
Function
watchJobPort
watchJobPort reads the job's notifications until the port is closed and calls onLimit when the worker (pid) hits its memory limit. For job messages th
internal/materialize/memcap_windows.go:187
↓ 1 callers
Function
watchListCmd
()
cmd/pad/cmd_watch.go:344
↓ 1 callers
Method
watchRSS
watchRSS is the parent-side memory cap for platforms that do not enforce one on the child (macOS).
internal/materialize/supervisor.go:1008
↓ 1 callers
Function
watchRemoveCmd
()
cmd/pad/cmd_watch.go:378
↓ 1 callers
Method
webMCPEnabled
webMCPEnabled reports whether the WebMCP browser surface is opted in via the webmcp_enabled platform setting. Fails closed: any read error or an unset
internal/server/handlers_auth.go:175
↓ 1 callers
Function
webhooksCmd
()
cmd/pad/cmd_webhook.go:16
↓ 1 callers
Function
webhooksCreateCmd
()
cmd/pad/cmd_webhook.go:123
↓ 1 callers
Function
webhooksDeleteCmd
()
cmd/pad/cmd_webhook.go:183
↓ 1 callers
Function
webhooksListCmd
()
cmd/pad/cmd_webhook.go:38
↓ 1 callers
Function
webhooksTestCmd
()
cmd/pad/cmd_webhook.go:206
↓ 1 callers
Function
webmcpSupported
()
web/src/lib/webmcp/register.ts:21
↓ 1 callers
Function
weekLabel
(start: string, short = false)
web/src/lib/calendar/presentation.ts:244
↓ 1 callers
Function
weekWindow
(start: string, zone: string)
web/src/lib/calendar/presentation.ts:239
↓ 1 callers
Function
wheel
Dispatch a wheel on `scope` (the viewer root, where the listener lives).
web/src/lib/components/common/Lightbox.svelte.test.ts:1815
↓ 1 callers
Function
wheel
()
web/e2e/attachment-viewer-owners.spec.ts:783
← previous
next →
15,101–15,200 of 28,840, ranked by callers