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
anyFlagChanged
--- database tools --- anyFlagChanged reports whether any of names was set on cmd.
cmd/pad/cmd_github.go:496
↓ 1 callers
Function
anyHasNUL
(v any)
internal/server/decode_json_nul_test.go:119
↓ 1 callers
Function
anySlice
(in []string)
internal/store/attachments_remap.go:569
↓ 1 callers
Method
api
api sends an authenticated API request with the double-submit CSRF pair.
internal/server/task3399_delegated_flow_test.go:75
↓ 1 callers
Function
apiErr
An error the real predicates accept: the class is not exported, so borrow its constructor.
web/src/lib/stores/chatThread.property.svelte.test.ts:191
↓ 1 callers
Function
apiError
(code: string, message: string)
web/src/routes/auth/cli/[code]/cliAuthPage.svelte.test.ts:58
↓ 1 callers
Function
apiError
(code: string, message = 'msg')
web/src/routes/s/[token]/shareLoadFailure.test.ts:4
↓ 1 callers
Function
apiError
(code: string)
web/src/lib/components/items/BuiltinUpdateNotice.svelte.test.ts:63
↓ 1 callers
Function
apiError
(code: string, message = code)
web/src/lib/stores/chatThread.svelte.test.ts:696
↓ 1 callers
Function
apiErrorFrom
apiErrorFrom builds an APIError from a response, keeping a partial-read failure rather than discarding it.
internal/decision/typesafe.go:643
↓ 1 callers
Function
apiRequestsDuring
API requests the page makes while `act` runs and the pane settles, each * with its offset in ms from the start of the window.
web/e2e/task-2228-pane-switch-requests.spec.ts:78
↓ 1 callers
Function
apiRequestsDuring
Requests the page makes, from the navigation until the page has settled.
web/e2e/task-2231-tag-starred-from-index.spec.ts:48
↓ 1 callers
Function
appAPIAudience
appAPIAudience is the installed-app API resource (SPEC-6 U5a, TASK-3394): the origin's /api/app/v1. Like the MCP audience it exists only where the OAu
cmd/pad/cmd_server_mcp.go:69
↓ 1 callers
Method
appAdmitDelegated
appAdmitDelegated admits a delegated token (TASK-3399, U5b-2): an app acting as a PERSON, read fresh on every request (§8 "removing a delegated user's
internal/server/app_api.go:357
↓ 1 callers
Function
appBearer
appBearer reads the token from the Authorization header only: the app API takes no token from a query string or a form.
internal/server/app_api.go:258
↓ 1 callers
Method
appCeilGrantFilter
appCeilGrantFilter narrows an item-grant filter to an app request's read ceiling (BUG-3424), the same ceiling visibleCollectionIDs applies (SPEC-6 U6a
internal/server/server.go:3934
↓ 1 callers
Function
appCredentialDenial
appCredentialDenial passes a fault through and marks anything else from token admission as a credential denial.
internal/server/app_api.go:711
↓ 1 callers
Function
appDeliveryStatus
appDeliveryStatus maps an attempt's result to its recorded status.
internal/server/app_webhook_delivery.go:207
↓ 1 callers
Method
appInstallArtifacts
appInstallArtifacts lists the live items stamped with this install's origin (U9b, TASK-3413). Provisioning and upgrade stamp source_pack = origin@vers
internal/server/app_webhooks.go:104
↓ 1 callers
Function
appListLimit
appListLimit bounds a list: default 50, at most 200.
internal/server/app_api_read.go:299
↓ 1 callers
Method
appPoster
()
internal/server/app_webhook_delivery.go:45
↓ 1 callers
Method
appPrincipalsOfOwnedWorkspacesTx
appPrincipalsOfOwnedWorkspacesTx lists the bots that are members of the workspaces ownerID owns, in id order. Account deletion erases them (purgeAppPr
internal/store/app_principal.go:187
↓ 1 callers
Method
appRecheckCollectionUncached
(r *http.Request, collectionID string)
internal/server/app_api_read.go:184
↓ 1 callers
Function
appSlug
(title string)
internal/store/fenced_items.go:86
↓ 1 callers
Method
appTokenWorkspace
appTokenWorkspace sets {ws} to the token's own workspace, for a route mounted outside /workspaces/{ws}, so requireAppWorkspace admits it the same way.
internal/server/app_api.go:418
↓ 1 callers
Function
appWritableSchema
appWritableSchema is schema with every default removed from the field kinds an app may not write.
internal/appstore/items.go:230
↓ 1 callers
Method
append
(data string)
internal/cli/chat_seen.go:157
↓ 1 callers
Method
appendAgendaItemEvents
(run *agendaRead, workspaceID string, scope store.PendingReminderScope, include map[string]bool)
internal/server/handlers_me_agenda.go:367
↓ 1 callers
Function
appendAsync
(b *Store, itemID string)
internal/store/migrated_test.go:44
↓ 1 callers
Function
appendChange
appendChange adds a change description to existing metadata JSON.
internal/server/handlers_documents.go:548
↓ 1 callers
Method
appendCount
()
internal/collab/manager_test.go:353
↓ 1 callers
Function
appendIntsOption
(options []string, key string, value []int)
internal/schedule/internal/rrule/str.go:97
↓ 1 callers
Function
appendLiveCollectionFilter
appendLiveCollectionFilter leaves out the items of a soft-deleted collection (BUG-3428), for every caller alike. Every search query joins collections
internal/store/search.go:662
↓ 1 callers
Function
appendLiveItemFilter
appendLiveItemFilter leaves out soft-deleted items unless the caller asked for them (TASK-2864). Called beside appendLiveCollectionFilter on every que
internal/store/search.go:651
↓ 1 callers
Method
appendRow
appendRow builds one destination row from a source attachment and adds it to the plan, updating the id map, the byte total and the cross-backend flag.
internal/store/attachments_copy_plan.go:571
↓ 1 callers
Function
appendSearchCollectionFilter
(query string, args []interface{}, params SearchParams)
internal/store/search.go:666
↓ 1 callers
Function
appendUnique
(held: readonly T[], page: readonly T[])
web/src/lib/utils/activityPaging.ts:41
↓ 1 callers
Method
appliedFor
The highest ticket that applied for a target, or 0.
web/src/lib/items/fieldWriteOrder.ts:101
↓ 1 callers
Function
applierFirstTimeout
()
internal/collab/applier.go:142
↓ 1 callers
Method
applierFirstWrite
applierFirstWrite is the reordered applier path: the row write commits WITHOUT content, then the apply runs against a committed row and no held transa
internal/server/handlers_items_content_route.go:273
↓ 1 callers
Function
applierRetryTimeout
()
internal/collab/applier.go:143
↓ 1 callers
Function
applierWriteDeadline
()
internal/collab/applier.go:860
↓ 1 callers
Method
applyAccessKick
applyAccessKick kicks this instance's connections a message addresses.
internal/server/access_kick.go:141
↓ 1 callers
Method
applyAppPrincipalCeilingQ
applyAppPrincipalCeilingQ narrows visible to a bot's install ceiling. visible nil means "every collection", which under a ceiling becomes the ceiling
internal/store/app_ceiling.go:116
↓ 1 callers
Function
applyAspectToRect
* Snap a rectangle to a target aspect ratio while preserving its * center. `aspect == null` is a no-op (free crop). The result is * clamped to `boun
web/src/lib/components/editor/attachment-crop-modal.ts:376
↓ 1 callers
Function
applyBlockType
(editor: Editor, block: BlockInfo, targetType: string)
web/src/lib/components/editor/block-drag-handle.ts:61
↓ 1 callers
Method
applyBulkOp
droppedFields is an OUT-PARAMETER, and it is one deliberately. Only the collection-move branch produces dropped field keys, the caller needs them to b
internal/server/handlers_items_bulk.go:469
↓ 1 callers
Function
applyCalendarUrlParam
(config: C, key: string, value: string)
web/src/lib/collections/paneUrlParams.ts:70
↓ 1 callers
Function
applyChanges
(board: Board, changes: BoardChanges)
web/src/mcp-app/boardModel.ts:67
↓ 1 callers
Function
applyCollectionSettingFlags
applyCollectionSettingFlags merges an update's dedicated setting flags (tracks_work, awaits_human) into settings, leaving every other key as is.
internal/store/collections.go:540
↓ 1 callers
Function
applyHostStyle
(ctx: HostContext)
web/src/mcp-app/bridge.ts:13
↓ 1 callers
Function
applyImageTransform
applyImageTransform dispatches on the operation discriminator. Each branch validates its own params and returns a clear error — the handler turns thos
internal/server/handlers_attachments_transform.go:384
↓ 1 callers
Function
applyOrder
applyOrder applies a tie group in the given order (stopping, as not applying, once ctx ends), then checks that the history behind it still applies to
internal/store/version_tie_diagnostic.go:379
↓ 1 callers
Function
applyPendingToggles
Apply pending toggles on top of a base set.
web/src/lib/stores/starred.svelte.ts:29
↓ 1 callers
Function
applySubs
(subs: Array<[string, string]>)
web/src/lib/components/items/itemDetailIdentityFenceAst.test.ts:869
↓ 1 callers
Method
applySummary
(w io.Writer, result monitorChatSummary)
cmd/pad/cmd_watch_chat.go:419
↓ 1 callers
Function
applyTokenAuth
(context: BrowserContext, fixture: SuiteFixture)
web/e2e/fixtures.ts:40
↓ 1 callers
Function
archiveItem
( fixture: SuiteFixture, request: APIRequestContext, slug: string, ws: string = fixture.workspaceSlug )
web/e2e/lib/attachment-viewer.ts:606
↓ 1 callers
Method
archiveItemForCopyTx
archiveItemForCopyTx soft-deletes the source inside the copy's transaction and returns the workspace-A seq the archive assigned. This REPRODUCES Dele
internal/store/items_cross_workspace_copy.go:1544
↓ 1 callers
Function
archiveThenUndo
Archive three rows, then click the Undo the success toast carries.
web/src/routes/[username]/[workspace]/[collection]/restoreReasonToast.svelte.test.ts:182
↓ 1 callers
Function
archivedList
TASK-2189: archiving a collection hides it and its items; nothing could bring them back. GET archived-collections lists what is archived and POST .../
internal/server/task2189_collection_restore_test.go:14
↓ 1 callers
Function
archivedPlaybooks
archivedPlaybooks holds the pre-PLAN-1377 library playbook bodies that were retired from the active library surface as part of PLAN-1397's invokable-f
internal/collections/playbook_library_archive.go:25
↓ 1 callers
Function
argCounts
Top-level argument count of each `name(` call, by a balanced-bracket scan.
web/src/lib/items/openChildrenLivenessCallers.test.ts:21
↓ 1 callers
Function
argFor
argFor returns a usable non-string argument: a context, a buffer for any interface it satisfies (io.Reader, io.Writer), a fresh value behind a pointer
internal/cli/bug3645_request_path_test.go:217
↓ 1 callers
Method
argSource
argSource looks up the enum_source for a positional arg on the given command path. Returns ("", false) when no binding applies.
internal/cmdhelp/dynamic.go:82
↓ 1 callers
Method
args
(n: Node, s: boolean, key: string, callee: Node, deferred: boolean)
web/src/test/identityFenceAst.ts:1448
↓ 1 callers
Function
argsContainIdentifier
argsContainIdentifier reports whether name appears in args as a whole identifier, so a substring like redisKeysOther does not satisfy the check.
cmd/pad/redis_keyspace_wiring_test.go:126
↓ 1 callers
Function
argsForLinkHint
(edit bool, args []string)
cmd/pad/cmd_schedule_link.go:226
↓ 1 callers
Function
arm
()
web/src/lib/collections/paneMintSettle.ts:92
↓ 1 callers
Function
arm
(retryAfterMs: number | null)
web/src/lib/services/accessStream.svelte.ts:272
↓ 1 callers
Function
arm
(retryAfterMs: number | null)
web/src/lib/services/sse.svelte.ts:457
↓ 1 callers
Function
arm
(ms: number, kind: ImportTransportFailure)
web/src/lib/api/importUpload.ts:96
↓ 1 callers
Method
arm
()
internal/server/handlers_attachments_upload_live_item_test.go:45
↓ 1 callers
Method
arm
arm allows the next Encode to fire fn. Call it directly before the request whose window is under test.
internal/server/handlers_attachments_transform_authz_test.go:348
↓ 1 callers
Method
armAfterPastMoveTx
armAfterPastMoveTx leaves the moved target in history, records the instances the move passed over like a done or skip does, and arms the next future o
internal/store/schedule_resolve.go:851
↓ 1 callers
Method
armCap
armCap reads the loaded worker's baseline and caps it at baseline + memLimit. A baseline that cannot be read, or is implausible, goes to onBaselinePro
internal/materialize/supervisor.go:687
↓ 1 callers
Function
armHandle
(editor: Editor, wrapper: HTMLElement, at: number)
web/src/lib/components/editor/blockDragHandleModalArbitration.svelte.test.ts:47
↓ 1 callers
Function
armHandleOnFirstBlock
Populate the plugin's active block + reveal the handle via the selection * path: arm `userHasInteracted` (a wrapper click), then drop an empty curso
web/src/lib/components/editor/blockDragHandleFreeze.svelte.test.ts:38
↓ 1 callers
Method
armIdle
armIdle (re)starts c's idle timer after a job, if c is still the worker (a job that killed it has already forgotten it). Called holding the job slot.
internal/materialize/supervisor.go:329
↓ 1 callers
Function
armNativeDragProbe
Count dragstart events that were NOT cancelled, i.e. a native link drag.
web/e2e/task-2237-card-link.spec.ts:20
↓ 1 callers
Function
armRateLimitCooldown
* Push the global rate-limit cooldown out to `now + backoffMs`, never * pulling it in. Called on EVERY 429 (including one that then triggers an * au
web/src/lib/api/client.ts:280
↓ 1 callers
Function
armsIn
armsIn returns the named arm functions this if-statement tests, in source order. It reads the INIT statement as well as the condition, because the arm
internal/server/handlers_items_title_test.go:750
↓ 1 callers
Function
armsSession
(e)
plugin/hooks/register.js:1127
↓ 1 callers
Method
arrayRowsHoldingTx
arrayRowsHoldingTx returns every live row of the collection whose field is an ARRAY holding at least one of olds as a string element, each once.
internal/store/field_option_rename.go:23
↓ 1 callers
Function
arrivals
Arrival times of `type` events delivered to the page since `since` (page clock).
web/e2e/task-2224-sse-request-budget.spec.ts:102
↓ 1 callers
Method
arrive
(path: string)
web/src/lib/stores/homeOverview.svelte.ts:24
↓ 1 callers
Function
arrow
(k: 'ArrowLeft' | 'ArrowRight')
web/src/lib/components/collections/PaneHost.svelte.test.ts:72
↓ 1 callers
Function
artifactParityCases
()
internal/server/artifact_import_parity_test.go:63
↓ 1 callers
Function
artifactProvenanceFooter
artifactProvenanceFooter renders an optional Markdown footer recording where an imported artifact came from. Returns "" when there's nothing useful to
internal/server/handlers_artifact_import.go:351
↓ 1 callers
Function
asKind
asKind is the kind of a CapError in err, or "".
internal/schedule/neverpartial_test.go:277
↓ 1 callers
Function
asShallow
(path: string)
web/src/routes/[username]/[workspace]/[collection]/collectionChatUrlWrites.svelte.test.ts:425
↓ 1 callers
Function
asciiFilenameFallback
asciiFilenameFallback replaces every rune plainHeaderFilename would reject with '_', so an ASCII extension survives ("会議.pdf" → "__.pdf").
internal/server/content_disposition.go:49
↓ 1 callers
Function
asciiLower
(s string)
internal/server/handlers_members.go:446
↓ 1 callers
Function
ask
(p decision.Provider, jobs []gateJob, workers int)
scripts/decision-eval/conventions/gates.go:277
↓ 1 callers
Function
ask
()
web/src/lib/components/chat/ChatThreadView.svelte.test.ts:37
↓ 1 callers
Function
assertBusyUnknown
assertBusyUnknown is assertBusy for a client-side interruption of a WRITE (store.IsDBOutcomeUnknown): same status and code, NO Retry-After (the text s
internal/server/task4278_error_mapping_test.go:165
↓ 1 callers
Function
assertCursorRetired
(t *testing.T, frame string)
internal/server/handlers_events_resume_test.go:327
↓ 1 callers
Function
assertExperimentalNamespace
assertExperimentalNamespace fails the test if exp[key] doesn't carry the expected version + a tool_surface_stable=true flag. Shared by the padCmdhelp
internal/mcp/server_test.go:82
↓ 1 callers
Function
assertGapCount
(t *testing.T, m *metrics.Metrics, name string, want float64)
internal/server/handlers_events_resume_test.go:395
↓ 1 callers
Function
assertGauge
assertGauge mirrors assertCounter for gauge families.
internal/metrics/events_gap_wiring_test.go:91
← previous
next →
9,701–9,800 of 28,840, ranked by callers