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
↓ 2 callers
Function
accountExportIsComplete
(text: string)
web/src/lib/api/client.ts:1334
↓ 2 callers
Method
accountExportWorkspace
accountExportWorkspace reads one owned workspace's collections, items and their app attribution from ONE read-only snapshot, after re-checking on that
internal/server/handlers_account.go:425
↓ 2 callers
Function
accountFor
An API handle for an account that already exists, by signing in as it.
web/e2e/workspace-tabs.spec.ts:50
↓ 2 callers
Function
ackCmd
()
cmd/pad/cmd_reminder.go:198
↓ 2 callers
Method
ackOccurrenceTx
(tx *sql.Tx, sc *models.ItemSchedule, in ResolveInput, occurrence, now time.Time)
internal/store/schedule_ack.go:23
↓ 2 callers
Method
ackReminder
ackReminder keeps the by-id and by-item doors' store and race handling identical.
internal/server/handlers_reminders.go:246
↓ 2 callers
Function
acknowledgementLine
(at *string, by *models.AcknowledgedBy, loc *time.Location)
cmd/pad/cmd_schedule.go:1025
↓ 2 callers
Method
acquireWorkspaceLocksOrdered
acquireWorkspaceLocksOrdered takes the workspace advisory locks for every supplied workspace, in ascending lock-KEY order, with duplicates collapsed.
internal/store/items_cross_workspace_copy.go:1103
↓ 2 callers
Method
acquireWorkspaceParentLinkLock
acquireWorkspaceParentLinkLock takes a Postgres advisory transaction lock that serializes ALL parent-edge-ADDING transactions within a workspace (BUG-
internal/store/items.go:173
↓ 2 callers
Function
actionItemGet
actionItemGet handles pad_item.action=get. With `lines` it slices the body into numbered lines HERE, the one place both transports pass through, so th
internal/mcp/catalog_item.go:1115
↓ 2 callers
Function
actionItemStarred
actionItemStarred handles pad_item.action=starred. Like list it never pages (BUG-3790, as BUG-3704 did for list): it asks for one row past the list ca
internal/mcp/catalog_item.go:940
↓ 2 callers
Function
actionMetaServerInfo
actionMetaServerInfo returns the minimal {name, version} pair. Roughly equivalent to what the MCP handshake exposes, but available post-handshake with
internal/mcp/catalog_meta.go:78
↓ 2 callers
Function
actionWorkspaceAuditLog
actionWorkspaceAuditLog reshapes the input for `pad workspace audit-log`'s `--action` filter flag. The CLI flag name `action` would normally be reacha
internal/mcp/catalog_workspace.go:110
↓ 2 callers
Function
activeInViewer
(page: Page)
web/e2e/lib/attachment-viewer.ts:714
↓ 2 callers
Method
activityCounts
activityCounts returns per-workspace "<workspace>:<action>" counts, so an assertion can name exactly which row it expects where.
internal/server/handlers_items_copy_test.go:619
↓ 2 callers
Function
activityPage
(t *testing.T, srv *Server, path string)
internal/server/task2219_activity_collection_test.go:27
↓ 2 callers
Function
actorKindOf
(kind string)
internal/store/milestone.go:65
↓ 2 callers
Method
addBillingFields
addBillingFields sets billing_available and billing_offer (TASK-3577): whether Pad Pro can be bought now, and its intervals, prices and trial as the s
internal/server/handlers_auth.go:159
↓ 2 callers
Function
addCause
(key: string, why: string)
web/src/lib/stores/chatThread.property.svelte.test.ts:183
↓ 2 callers
Function
addField
(f models.FieldDef)
internal/server/app_upgrade_diff_test.go:196
↓ 2 callers
Method
addFlags
(c *cobra.Command)
cmd/pad/cmd_schedule_link.go:23
↓ 2 callers
Function
addPadEntryJSON
(path, binary string, args []string)
internal/mcp/install.go:215
↓ 2 callers
Function
addPadEntryTOMLWithArgs
(path, binary string, args []string)
internal/mcp/install.go:413
↓ 2 callers
Method
addPending
(op_key: string, body: string, reply_to_seq?: number)
web/src/lib/chat/model.ts:59
↓ 2 callers
Function
addressable
Both anchors need a workspace and an id before they can point anywhere.
web/src/lib/attachments/actions.ts:160
↓ 2 callers
Method
adminAcceptsAPITokens
adminAcceptsAPITokens reports whether platform administration accepts an API token: only when the operator opted in, and never on Pad Cloud.
internal/server/server.go:893
↓ 2 callers
Method
admit
admit applies the failure budget. The budget resets when the op-log has moved past the MAX(id) recorded at the last failure.
internal/server/materialize_recovery.go:560
↓ 2 callers
Function
advanceQueue
* Show the next QUEUED request that is still live (BUG-3046). A request queued * behind another is not withdrawn when its reason disappears: the user
web/src/lib/stores/openChildrenDialog.svelte.ts:41
↓ 2 callers
Function
advanceQueue
()
web/src/lib/stores/pendingEditsDialog.svelte.ts:28
↓ 2 callers
Method
agendaEntries
agendaEntries states each occurrence. loc is the zone the schedule's walls resolve in and lo where the walk began (the later of from and the rule's st
internal/store/schedule_agenda.go:424
↓ 2 callers
Function
agendaForecastRow
(row store.AgendaForecast)
internal/server/handlers_agenda_forecast.go:28
↓ 2 callers
Method
agendaGatedItemIDsQ
(q Queryer, workspaceID string, itemIDs []string)
internal/store/agenda_work_batch.go:58
↓ 2 callers
Method
agendaOccurrences
agendaOccurrences reads a schedule's history rows around [from, to), padded a day and a half each way because a floating row is the recipient's readin
internal/store/schedule_agenda.go:266
↓ 2 callers
Function
agendaRecipient
agendaRecipient reads the caller as the agenda sees them: the account whose zone "today" is in and whose items the schedules belong to, and the kind.
internal/server/bootstrap_agenda.go:101
↓ 2 callers
Function
agendaRolesWorld
agendaRolesWorld builds both origins through their respective store writers.
internal/server/handlers_agenda_test.go:114
↓ 2 callers
Method
agendaWorkDetailsQ
(q Queryer, workspaceID string, itemIDs []string)
internal/store/agenda_work_batch.go:16
↓ 2 callers
Function
agendaZone
agendaZone reads the optional `tz` parameter, writing the 400 itself on a bad name. note is set when the zone is the caller's own default.
internal/server/handlers_agenda.go:169
↓ 2 callers
Function
agentGuideHeading
(line string)
cmd/pad/cmd_agent.go:79
↓ 2 callers
Function
agentGuideSlug
(s string)
cmd/pad/cmd_agent.go:91
↓ 2 callers
Function
agentGuideTopics
(markdown string)
cmd/pad/cmd_agent.go:46
↓ 2 callers
Function
agentItemFields
agentItemFields removes entries already hydrated as top-level arrays. These keys remain in storage for append semantics, but repeating them in an agen
internal/cli/item_summary.go:201
↓ 2 callers
Function
agentMeta
agentMeta returns metadata JSON with the agent name if X-Pad-Agent is set, merged with any existing metadata. Returns empty string if no agent.
internal/server/handlers_documents.go:399
↓ 2 callers
Function
agentNameFromMetadata
(metadata: string | undefined | null)
web/src/lib/utils/agentActor.ts:58
↓ 2 callers
Function
agentNameValue
(name: unknown)
web/src/lib/utils/agentActor.ts:82
↓ 2 callers
Function
agentSays
(request: APIRequestContext, f: Fixture, n: number, agent: string, body: string)
web/e2e/chat-thread-write.spec.ts:47
↓ 2 callers
Function
agentValidArgs
()
cmd/pad/mcp.go:179
↓ 2 callers
Function
agingBuckets
agingBuckets distributes open-item ages (hours) into fixed bands. Always returns all four bands in order (zero counts included) for a stable shape.
internal/store/reports.go:1012
↓ 2 callers
Function
ago
(iso)
plugin/hooks/register.js:234
↓ 2 callers
Function
aliasExtensions
aliasExtensions covers allowed MIME spellings that NO extension in extMIMEMap maps to, so reversing the forward table alone leaves them without an ext
internal/attachments/mime.go:569
↓ 2 callers
Function
allFiles
()
web/src/lib/attachments/pdfjsBuildOutput.test.ts:38
↓ 2 callers
Function
allRetry
(msgs []Message)
internal/notify/gateway.go:177
↓ 2 callers
Function
allRoutedCmdKeys
()
internal/mcp/dispatch_http_allowlist_guard_test.go:449
↓ 2 callers
Method
allow
allow reports whether to log for key, and records it.
internal/server/middleware_mcp_host.go:129
↓ 2 callers
Method
allow
(installID string)
internal/server/app_webhook_delivery.go:247
↓ 2 callers
Method
allowDecisionProviderCall
allowDecisionProviderCall charges one token from the DecisionProvider bucket and reports whether the caller may make a synchronous provider call. On r
internal/server/middleware_ratelimit.go:978
↓ 2 callers
Function
allowlistFixtureInput
allowlistFixtureInput is parityFixtureInput plus the keys these drives need, since this test wants the PATH a command emits rather than merely whether
internal/mcp/dispatch_http_allowlist_guard_test.go:1186
↓ 2 callers
Function
allowlistedAuthorizeParams
allowlistedAuthorizeParams returns a copy of in containing ONLY the keys an OAuth /authorize request is allowed to round-trip through the consent form
internal/server/handlers_oauth.go:2346
↓ 2 callers
Function
analyseUnit
(src: AstSource, decls: Declarations, unit: Unit, opts: AnalyseOptions)
web/src/test/identityFenceAst.ts:1553
↓ 2 callers
Function
anchorTags
(text: string)
web/src/test/linkCensusScan.ts:5
↓ 2 callers
Function
annotationForDef
annotationForDef derives the MCP tool annotation block from the catalog's own read-only knowledge (readOnlyActions in tool_surface.go — the single sou
internal/mcp/catalog.go:320
↓ 2 callers
Function
annualRadios
()
web/src/routes/(console)/settings/billing/billingInterval.svelte.test.ts:92
↓ 2 callers
Function
answer
(key: string, noul: number)
web/src/lib/components/items/DecisionChips.svelte.test.ts:38
↓ 2 callers
Function
answerAt
(revision: number, ...tabs: Tab[])
web/src/lib/stores/tabs.svelte.test.ts:84
↓ 2 callers
Method
answers
answers returns the latest attention answers of the rows' items, the owed jobs, and the question hashes as the set asks them now. All three are nil wi
internal/server/needs_scorers.go:183
↓ 2 callers
Function
api
(request: APIRequestContext, fixture: SuiteFixture, method: 'get' | 'post', path: string, data?: unknown)
web/e2e/task-2188-schema-removal-confirm.spec.ts:18
↓ 2 callers
Function
apiErr
(code: string)
web/src/lib/stores/chatInbox.svelte.test.ts:82
↓ 2 callers
Function
appCall
( ca: Buffer, method: string, url: string, opts: { headers?: Record<string, string>; body?: string | Buffe
web/e2e/lib/real-install.ts:256
↓ 2 callers
Method
appCollectionDTO
(c *models.Collection)
internal/server/app_api_read.go:227
↓ 2 callers
Function
appCommentAuthorKind
appCommentAuthorKind is the author_kind of a comment an app write makes, as the comment listing derives it: "app" for the bot, "user" for a person.
internal/server/app_api_write.go:103
↓ 2 callers
Function
appCommentDTO
appCommentDTO is one comment's DTO, written by this request's actor.
internal/server/app_api_write.go:232
↓ 2 callers
Method
appCommentOnItem
appCommentOnItem resolves the comment for a PATCH or DELETE: the item first, then the comment, which must be on THAT item, else the same 404 a missing
internal/server/app_api_write.go:294
↓ 2 callers
Method
appConsentGate
appConsentGate is every check the consent render AND the decision make, read fresh each time: apps on, the install active and offering delegated acces
internal/server/app_delegated_consent.go:46
↓ 2 callers
Function
appContextSelfCheck
appContextSelfCheck refuses a request whose context lacks any key the shared helpers read (§4 step 5).
internal/server/app_api.go:528
↓ 2 callers
Method
appDeliveryChecksQ
appDeliveryChecksQ is admission's decision, on q. lock takes the install row FOR SHARE first (Postgres; admission runs it in a transaction); the read-
internal/store/app_delivery.go:274
↓ 2 callers
Function
appDeliveryExpired
(occurredAt string, now time.Time)
internal/server/app_webhook_delivery.go:198
↓ 2 callers
Function
appFieldProjection
appFieldProjection keeps only the item's values for the collection's declared non-relation keys.
internal/server/app_api_read.go:110
↓ 2 callers
Method
appHookInstall
(webhookID string)
internal/store/app_delivery.go:257
↓ 2 callers
Function
appPrincipalEmail
appPrincipalEmail is the address CreateAppUserTx gives an install's bot.
internal/store/install_clients.go:180
↓ 2 callers
Function
appPrincipalInstallID
appPrincipalInstallID recovers the install id from a bot's address.
internal/store/app_principal.go:176
↓ 2 callers
Method
appPrincipalInstallQ
appPrincipalInstallQ is AppPrincipalInstallIDQ that also reports whether the user is a bot at all, from the same single users read. That read runs on
internal/store/app_ceiling.go:38
↓ 2 callers
Method
appRecheckAttachment
appRecheckAttachment replays the read rule under the re-admitted context: the attachment must still be visible to the app and still bound to the same
internal/server/app_api_attachments.go:127
↓ 2 callers
Function
appRows
(t *testing.T, e *appsEnv, q string, args ...any)
internal/server/handlers_apps_provision_test.go:173
↓ 2 callers
Function
appSchemaProjection
(c *models.Collection)
internal/server/app_api_read.go:89
↓ 2 callers
Method
appSignInAvailable
appSignInAvailable reports whether a request at the authorize or decide door names an installed app's client while apps are available: those doors ser
internal/server/app_delegated_consent.go:225
↓ 2 callers
Method
appVisibleAttachment
appVisibleAttachment authorizes one attachment for a read: the app read rule (a live row bound to a live item in a companion, the FencedTx's check), t
internal/server/app_api_attachments.go:98
↓ 2 callers
Function
appWrittenItemDTO
appWrittenItemDTO is a write's response, built only from what the write's own transaction read (appstore.ItemWrite). Nothing here touches the database
internal/server/app_api_write.go:182
↓ 2 callers
Method
append
(t *testing.T, frame []byte, version string)
internal/server/bug3244_schema_rebuild_set_aside_test.go:48
↓ 2 callers
Method
append
(n Notification)
internal/watchevents/watchevents.go:378
↓ 2 callers
Function
appendBackedReservedKey
appendBackedReservedKey reports whether a reserved key's remedy is an APPEND helper — the ones carrying BUG-2627 part 3's refuse-rather-than-destroy g
internal/server/handlers_items_copy_preflight.go:1723
↓ 2 callers
Method
appendFieldFilters
ParentLinkUpdate describes an optional parent-link mutation to apply ATOMICALLY inside UpdateItem's transaction (BUG-2013). The handler used to run Se
internal/store/items.go:2414
↓ 2 callers
Function
appendOnlyMux
--- item note + decide --- BUG-3056: the dispatcher sends ONLY the append and lets the server apply it under its write lock. A GET or a `fields` membe
internal/mcp/dispatch_http_project_test.go:1227
↓ 2 callers
Function
appendRequest
BUG-3056. `pad item note` / `decide` (and the remote /mcp doors) appended by GET, append locally, PATCH the whole fields blob back, so a write to any
internal/server/handlers_items_append_test.go:22
↓ 2 callers
Method
appendSearchFilters
appendSearchFilters adds workspace, collection, and field filter clauses to a query. Used to keep count and results queries in sync.
internal/store/search.go:447
↓ 2 callers
Function
appendSearchPermissionFilter
appendSearchCollectionFilter adds the collection content filter to a search query. A resolved CollectionFilterIDs set (BUG-2659) wins; a bare Collecti
internal/store/search.go:625
↓ 2 callers
Function
appendSelectOptionsJSON
appendSelectOptionsJSON appends values to the named fields' options in the stored schema JSON, decoded generically so keys models.FieldDef does not de
internal/server/library_option_widen.go:176
↓ 2 callers
Method
appendSyncFrameQ
(q yjsExecQueryer, itemID string, data []byte, schemaVersion string)
internal/store/yjs_updates.go:151
↓ 2 callers
Method
appendWorkspaceForecasts
appendWorkspaceForecasts keeps the earliest forecasts across all admitted workspaces, without consuming or changing any occurrence bounds or cuts. wor
internal/server/handlers_agenda_forecast.go:36
↓ 2 callers
Function
appliedMigrations
appliedMigrations returns the set of migration version strings recorded in schema_migrations (the full filename, e.g. "073_workspace_deleted_at_idx.sq
internal/store/migration_guard.go:16
↓ 2 callers
Method
applies
* Whether the action EXISTS for this attachment. Open is omitted entirely * for types a browser cannot preview — never shown disabled, because a *
web/src/lib/attachments/actions.ts:121
↓ 2 callers
Method
appliesTo
(collectionSlug string)
internal/decision/runner.go:130
← previous
next →
6,401–6,500 of 28,840, ranked by callers