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
avatarOf
avatarOf reads the stored avatar, which oauth-login fills for an existing account that has none, but only once the sign-in has passed TOTP.
internal/server/handlers_bug3322_totp_doors_test.go:59
↓ 2 callers
Function
awaitAnnouncement
awaitAnnouncement is startAnnouncedStub's core, returning its failure instead of failing a test, so the fixture's own refusal is testable (TestPreServ
internal/buildtools/install_refresh_test.go:290
↓ 2 callers
Function
awaitItemEvent
(t *testing.T, ch <-chan events.Event, eventType, itemID string)
internal/server/handlers_unparented_test.go:253
↓ 2 callers
Function
awaitReturn
awaitReturn requires path's handler to return within the deadline plus slack, while its client is still connected and not reading.
internal/server/bug3821_write_deadline_test.go:93
↓ 2 callers
Function
awaitServing
awaitServing waits for the server holding the port to answer HTTP.
internal/cli/server.go:57
↓ 2 callers
Method
awareness
()
internal/collab/room.go:808
↓ 2 callers
Function
awarenessFrame
(update []byte)
internal/collab/awareness_test.go:126
↓ 2 callers
Function
backThenDrillAfterSettleArms
( page: Page, ref: string, delayMs: number, )
web/e2e/lib/paneSettle.ts:33
↓ 2 callers
Function
backdropDismiss
(node: HTMLElement, options: BackdropDismissOptions)
web/src/lib/utils/backdropDismiss.ts:26
↓ 2 callers
Method
backfillItemNumbers
backfillItemNumbers assigns prefixes to collections that lack them and sequential item_number values to items that don't have one yet. On first run a
internal/store/store.go:1643
↓ 2 callers
Method
backfillSelfHostedQ
backfillSelfHostedQ is the conversion itself, with no ownership check. Taking plan_source over as manual is deliberate (PLAN-3291 DR-6: the write that
internal/store/instance_mode.go:132
↓ 2 callers
Function
backlinksCmd
backlinksCmd serves `pad item backlinks <ref>` — the CLI surface for PLAN-1593's reverse `[[...]]` index. Lists items that contain a `[[<ref>]]` refer
cmd/pad/cmd_item.go:3595
↓ 2 callers
Function
balancedBlock
The `{...}` block starting at or after `from`, matched by balancing braces.
web/src/lib/components/items/itemDetailLinksRetryWiring.test.ts:19
↓ 2 callers
Function
bar
(page: Page)
web/e2e/chat-phone-sheet.spec.ts:43
↓ 2 callers
Function
barFor
(title: string)
web/src/lib/components/charts/BarChart.render.svelte.test.ts:131
↓ 2 callers
Function
bars
()
web/src/lib/components/calendar/WeekSummary.svelte.test.ts:30
↓ 2 callers
Function
baseProps
(overrides: Record<string, unknown> = {})
web/src/lib/components/items/PushToAgentDialog.svelte.test.ts:46
↓ 2 callers
Function
beginDiagnosticTx
beginDiagnosticTx opens the diagnostic's one transaction, read-only by construction on Postgres: BEGIN READ ONLY through TxOptions and again with SET
internal/store/version_tie_diagnostic.go:85
↓ 2 callers
Method
beginRestore
Version-restore ↔ designated-applier coordination (BUG-2276 residual 2). Problem. A version restore (ForceRefreshRoom) freezes every connected conn f
internal/collab/restore_coord.go:66
↓ 2 callers
Function
beginSend
(opKey: string)
web/src/lib/chat/composerRegistry.ts:44
↓ 2 callers
Function
benchReadStore
The number that actually decides whether the guard is affordable: a REAL read through the store, guarded, against the same read on the raw driver. no
internal/store/nulguard_bench_test.go:133
↓ 2 callers
Function
benchSeedConnection
Hot-path benchmark for GetOAuthConnectionAccess (PLAN-1519 Phase A acceptance: "Hot-path benchmark: dual-read overhead measured and documented"). The
internal/store/bench_oauth_connections_test.go:45
↓ 2 callers
Function
bestEffortWorkspaceHints
bestEffortWorkspaceHints calls lookup.ListWorkspaces and swallows errors. The error envelope is more valuable than nothing even when the listing faile
internal/mcp/errors.go:456
↓ 2 callers
Function
bigCalendar
bigCalendar seeds n items per day on `days` days of March 2031 in a world whose collection also declares a hyphenated date field.
internal/server/handlers_calendar_test.go:753
↓ 2 callers
Function
bigExportWorkspace
bigExportWorkspace makes a workspace whose JSON export is n x 768 KB of hex text, which gzips about 2:1, so the compressed body is large too.
internal/server/bug3821_write_deadline_test.go:113
↓ 2 callers
Function
bindReactiveCounter
(hook: { read: null | (() => number); write: null | ((n: number) => void); })
web/src/test/reactiveCounter.svelte.ts:7
↓ 2 callers
Function
bindScheduleFlags
(cmd *cobra.Command, f *scheduleFlags)
cmd/pad/schedule_flags.go:37
↓ 2 callers
Function
blankRelFixture
BUG-3028 on BOTH backends: the empty relation filter and the in-lock normalisation of carried blanks are SQL/JSON the server tests only ever run on SQ
internal/store/bug3028_relation_blank_test.go:17
↓ 2 callers
Function
blockAtPos
(view: EditorView, pos: number)
web/src/lib/components/editor/block-drag-handle.ts:102
↓ 2 callers
Function
blockedDraftMessage
(lostLaneLabel: string, fieldLabel: string, reason: BlockedReason)
web/src/lib/collections/laneDrafts.ts:139
↓ 2 callers
Function
board
* A complete DashboardResponse. Every array is present because the page reads * `.length` on them unconditionally; a payload missing one throws durin
web/src/routes/[username]/[workspace]/dashboardIdentityFence.svelte.test.ts:150
↓ 2 callers
Function
boardIDs
(v any)
internal/mcp/board_test.go:226
↓ 2 callers
Function
bodyChild
A direct child of `<body>` — the shape a portaled viewer root has.
web/src/lib/a11y/viewerBackdrop.svelte.test.ts:28
↓ 2 callers
Function
bodyOf
(t *testing.T, c recordedCall)
cmd/pad/task4356_remind_test.go:213
↓ 2 callers
Function
boolInt
(v bool)
internal/store/reminder_collision_test.go:301
↓ 2 callers
Function
boolSettingValid
boolSettingValid reports false only when key is present and not a JSON boolean. Unparseable settings are left to the settings-shape check.
internal/models/awaits_human.go:90
↓ 2 callers
Function
boolToString
boolToString converts a Go bool to the string representation used in audit metadata. Kept local to this file because audit metadata is string-typed (J
internal/server/handlers_cloud.go:1530
↓ 2 callers
Function
bootstrapAgendaRows
(rows []store.BootstrapAgendaRow, loc *time.Location, now time.Time)
internal/server/bootstrap_agenda.go:154
↓ 2 callers
Function
bootstrapWorkspaceSlug
(t *testing.T, out map[string]any)
cmd/pad/bug3326_remote_set_workspace_test.go:68
↓ 2 callers
Method
botID
(t *testing.T)
internal/server/handlers_apps_upgrade_test.go:61
↓ 2 callers
Function
bound
The pan bound the module promises for one axis, recomputed independently.
web/src/lib/attachments/zoom.test.ts:67
↓ 2 callers
Function
bracketRewriteAt
bracketRewriteAt is the per-bracket decision, and the ONLY copy of it. It returns the replacement text for the bracket at `position` (including its en
internal/links/links.go:755
↓ 2 callers
Function
bracketUnchanged
bracketUnchanged reports whether rewriting the bracket at [position, bracketEnd) would reproduce it byte-for-byte. Allocation-free and segment-wise:
internal/links/links.go:728
↓ 2 callers
Function
breakMissedWalk
breakMissedWalk makes the schedule's missed walk hit CapScan: from the 2000 dtstart with no re-anchor, a minutely rule inside one hour a day.
internal/server/handlers_commitments_missed_warn_test.go:181
↓ 2 callers
Method
breakTable
breakTable makes every query on table fail and returns the undo.
internal/server/task3939b_push_gates_test.go:334
↓ 2 callers
Function
btn
(container: HTMLElement, label: RegExp)
web/src/lib/components/layout/createWorkspaceModalIdentity.svelte.test.ts:67
↓ 2 callers
Function
btn
(container: HTMLElement, label: RegExp)
web/src/lib/components/layout/createWorkspaceModalTemplatePeek.svelte.test.ts:38
↓ 2 callers
Function
bucketByColumn
( items: Item[], groupField: string, columns: string[], /** * How to read an item's lane value, when the
web/src/lib/collections/boardColumns.ts:85
↓ 2 callers
Function
bucketLabel
(key: string, keysAreLocal = false)
web/src/lib/insights/bucketLabel.ts:43
↓ 2 callers
Method
budgetSlotLocked
(itemID string)
internal/server/materialize_recovery.go:586
↓ 2 callers
Function
bug2640AssertStatuses
(t *testing.T, got map[string]string, out string)
cmd/pad/bug2640_done_field_display_test.go:61
↓ 2 callers
Function
bug2640FakeServer
bug2640FakeServer answers the calls standup and changelog make: two collections (done field `stage` via board_group_by, and a status control), one com
cmd/pad/bug2640_done_field_display_test.go:16
↓ 2 callers
Function
bug2685PresentationWorkspace
Leg D — the two PRESENTATION doors must not publish the declaration either. These are the "bootstrap / share presentation" row of the filed table, an
internal/server/bug2685_grandfathered_reserved_key_test.go:212
↓ 2 callers
Function
bug2717Fixture
BUG-2717: restore and move returned a POST-COMMIT re-read of the item, so a concurrent write landing between the commit and that read was handed back
internal/store/bug2717_intx_snapshot_test.go:20
↓ 2 callers
Function
bug3163ItemTitles
(t *testing.T, srv *Server, ws, coll string)
internal/server/bug3163_reserved_write_doors_test.go:46
↓ 2 callers
Function
bug3314AssertClean
(t *testing.T, door, body string)
internal/server/bug3314_activity_ip_test.go:90
↓ 2 callers
Function
bug3340Setup
BUG-3340: a webhook receives full item snapshots from every collection, so configuring one is a whole-workspace capability. A workspace owner whose ac
internal/server/bug3340_webhook_scope_test.go:17
↓ 2 callers
Function
bug3591Backdate
(t *testing.T, s *Store, id string, ago time.Duration)
internal/store/bug3591_upgrades_test.go:43
↓ 2 callers
Function
bug3678Active
(t *testing.T, srv *Server, token, bearer string)
internal/server/bug3678_refresh_window_test.go:26
↓ 2 callers
Function
bug3704List
BUG-3704: every HTTP item list is bounded. A missing, zero, negative or invalid limit takes the maximum (an old client then loses rows only past it),
internal/server/bug3704_list_bounds_test.go:16
↓ 2 callers
Function
bug3768CoOwner
BUG-3768: installing an app adds its bot as a member with collection_access 'all', capped only by the install's read ceiling (the workspace's system c
internal/server/bug3768_restricted_owner_apps_test.go:21
↓ 2 callers
Function
bug3768Restrict
bug3768Restrict scopes the user to the tasks collection.
internal/server/bug3768_restricted_owner_apps_test.go:38
↓ 2 callers
Function
bug3793Check
(t *testing.T, contents []mcp.ResourceContents, wantRows int, wantNote bool)
internal/mcp/bug3793_item_resource_truncation_test.go:31
↓ 2 callers
Function
bug3793Read
BUG-3793: the pad://workspace/{ws}/items resource is capped at 200, and a capped list used to read as the whole workspace. It asks for one row past th
internal/mcp/bug3793_item_resource_truncation_test.go:19
↓ 2 callers
Function
bug3812Count
(codes []int, want int)
internal/server/bug3812_unique_race_test.go:67
↓ 2 callers
Function
bug3814StoreLines
BUG-3814, store leg: the server test (internal/server) runs on SQLite only, so this is the one that proves the snapshot holds on Postgres, where begin
internal/store/bug3814_version_snapshot_test.go:21
↓ 2 callers
Function
bug3816OAuthOnlyUser
bug3816OAuthOnlyUser makes an account with google and github linked and no password: either provider may go, but not both.
internal/store/bug3816_unlink_last_method_test.go:11
↓ 2 callers
Function
bug3816Providers
bug3816Providers reads the account's providers fresh.
internal/store/bug3816_unlink_last_method_test.go:33
↓ 2 callers
Function
bug3817AwaitLiveCheckWait
bug3817AwaitLiveCheckWait returns once a backend is waiting on a lock while running createInvitationTx's FOR SHARE liveness read, so a test proves the
internal/store/bug3817_resend_invitation_test.go:226
↓ 2 callers
Function
bug3831Backends
BUG-3831 — two residuals of BUG-3049's field-level patch in bulkFieldUpdate. 1. A carried value whose only change is CoerceFields re-typing it (store
internal/server/bug3831_bulk_field_prelock_test.go:27
↓ 2 callers
Function
bug3831Item
bug3831Item makes a collection with a terminal status, a number field and the end_date autoPopulateDates stamps, and one item in it.
internal/server/bug3831_bulk_field_prelock_test.go:44
↓ 2 callers
Function
bug3864Check
(t *testing.T, env mcp.ErrorEnvelope, want bug3864Want)
cmd/pad/bug3864_permission_reasons_test.go:226
↓ 2 callers
Function
bug3864Remote
(t *testing.T, f *capFixture, token string, op bug3864Op)
cmd/pad/bug3864_permission_reasons_test.go:153
↓ 2 callers
Function
bug3864Same
bug3864Same: one refusal, one answer. The message may differ (the remote dispatcher refuses some writes before the server sees them), but the code, de
cmd/pad/bug3864_permission_reasons_test.go:272
↓ 2 callers
Function
bug3864Stdio
(t *testing.T, f *capFixture, token string, op bug3864Op)
cmd/pad/bug3864_permission_reasons_test.go:197
↓ 2 callers
Function
bug3870Fixture
bug3870Fixture: a workspace with a second owner (the inviter), an invitee, and a pending editor invitation from the inviter to the invitee.
internal/store/bug3870_member_dead_invitation_test.go:15
↓ 2 callers
Function
bug3879Call
bug3879Call runs one tools/call and checks the one audit row it wrote. A tool failure answers with an error RESULT (isError); a call mcp-go refuses be
cmd/pad/bug3879_mcp_audit_tool_outcome_test.go:76
↓ 2 callers
Function
bug3879Rows
bug3879Rows is the user's audit rows for one tool.
cmd/pad/bug3879_mcp_audit_tool_outcome_test.go:117
↓ 2 callers
Function
bug3968Body
bug3968Body is many inline code spans followed by many wiki-links: the shape that made a per-match range scan quadratic (BUG-3968).
internal/links/bug3968_wikilink_code_spans_test.go:13
↓ 2 callers
Function
bug4019Corrupt
bug4019Corrupt creates a password user with 2FA on, under key A, then reconfigures the store with key B so the stored secret no longer decrypts. It re
internal/server/bug4019_totp_lazy_decrypt_test.go:88
↓ 2 callers
Function
bug4019Enabled
(t *testing.T, srv *Server, userID string)
internal/server/bug4019_totp_lazy_decrypt_test.go:75
↓ 2 callers
Function
bug4065Doors
()
internal/mcp/bug4065_non_numeric_inputs_test.go:146
↓ 2 callers
Function
bug4066ChildWrapper
bug4066ChildWrapper writes a `pad` stand-in that re-runs this test binary as the failing child, with a relative data dir in the parent's environment.
internal/mcp/bug4066_dispatch_child_env_test.go:50
↓ 2 callers
Method
buildBootstrapAgenda
buildBootstrapAgenda reads the section. It is nil when there is nothing to show.
internal/server/bootstrap_agenda.go:111
↓ 2 callers
Function
buildBulkRemapWorkspace
buildBulkRemapWorkspace makes n items that all reference one source id from content, fields, two comments and a full-row version, so every item needs
internal/store/attachments_remap_chunk_test.go:530
↓ 2 callers
Function
buildCanonicalExtForMIME
()
internal/attachments/mime.go:575
↓ 2 callers
Method
buildChildrenUncountedExpr
buildChildrenUncountedExpr is TRUE for a child that progress leaves out of BOTH counts: one whose done-field value closes it without delivering (aband
internal/store/items.go:5396
↓ 2 callers
Method
buildCollectionDoneContextMap
buildCollectionDoneContextMap loads schema + settings for every collection in a workspace. Used to evaluate "is terminal?" for a batch of items from p
internal/store/item_stars.go:190
↓ 2 callers
Function
buildCollectionUrlParams
(state: CollectionUrlFilterState, currentUrl: UrlWithParams)
web/src/lib/collections/paneUrlParams.ts:84
↓ 2 callers
Method
buildDecisionSettingsResponseLocked
()
internal/server/decision_settings.go:279
↓ 2 callers
Function
buildDescriptor
( tool: ToolSurfaceTool, execute: (args: Record<string, unknown>) => Promise<ModelContextToolResult>, )
web/src/lib/webmcp/descriptors.ts:127
↓ 2 callers
Function
buildDescriptors
( surface: ToolSurfaceResponse, executeFor: ( toolName: string, ) => (args: Record<string, unknown>) => P
web/src/lib/webmcp/descriptors.ts:177
↓ 2 callers
Function
buildDoc
(row: ItemIndexRow)
web/src/lib/stores/localSearch.svelte.ts:350
↓ 2 callers
Function
buildItemSortRanked
buildItemSortRanked is buildItemSort with the select-field ranks of selectSortRanks (BUG-4400): a field named in ranks sorts by its rank expression, t
internal/store/items.go:6403
↓ 2 callers
Function
buildItemState
(item *models.Item, comments []models.Comment, links *[]ItemStateLink)
internal/decision/runner.go:294
↓ 2 callers
Method
buildMCPSettingsResponse
()
internal/server/handlers_admin_mcp.go:251
↓ 2 callers
Function
buildPlaceholder
(filename: string)
web/src/lib/components/editor/attachment-upload.ts:138
↓ 2 callers
Function
buildRelatedGroups
(item *models.Item, links []models.ItemLink)
cmd/pad/query.go:291
↓ 2 callers
Function
buildScheduleCreate
(f scheduleFlags)
cmd/pad/schedule_flags.go:63
↓ 2 callers
Function
buildTestRoot
buildTestRoot returns a minimal cobra tree that mirrors `pad`'s structure closely enough to exercise the help routing layer: root ├── item (group)
cmd/pad/help_cmdhelp_test.go:26
← previous
next →
6,601–6,700 of 28,840, ranked by callers