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
assertGaugeTracksAdmission
(t *testing.T, srv *Server, m *metrics.Metrics)
internal/server/stream_admission_test.go:347
↓ 1 callers
Method
assertIntact
(t *testing.T, srv *Server)
internal/server/task4278_account_delete_budget_test.go:127
↓ 1 callers
Function
assertLen
assertLen and assertOverflow are tiny helpers used by TestCapBootstrapDashboard to keep the per-array assertion noise from drowning the actual contrac
internal/server/handlers_bootstrap_test.go:914
↓ 1 callers
Function
assertLinks
assertLinks compares two WikiLinkRef slices for the fields Phase 1 + Phase 2a care about. WorkspaceSlug is excluded because Phase 2b (TASK-1597) is th
internal/links/extract_test.go:842
↓ 1 callers
Function
assertNoChildlessTombstone
(t *testing.T, s *Store, itemID string, round int)
internal/store/comments_tombstone_test.go:288
↓ 1 callers
Function
assertNoFanout
(t *testing.T, f *copyPreflightFixture, o *copyFanoutObserver, before worldSnapshot)
internal/server/handlers_items_copy_test.go:920
↓ 1 callers
Function
assertNoForceRefresh
assertNoForceRefresh reads the first frame and fails if it is a force_refresh (a normal Join's first frame is the op_log_cursor control, not force_ref
internal/server/handlers_items_collab_versions_test.go:797
↓ 1 callers
Function
assertNoNullLists
(t *testing.T, where string, rr *httptest.ResponseRecorder, want int, typ reflect.Type)
internal/server/bug3417_null_lists_test.go:85
↓ 1 callers
Function
assertNoWorkspace
(t *testing.T, d *HTTPHandlerDispatcher, cmd []string, input map[string]any)
internal/mcp/dispatch_http_no_workspace_test.go:38
↓ 1 callers
Function
assertOverflow
(t *testing.T, name string, got, want int)
internal/server/handlers_bootstrap_test.go:921
↓ 1 callers
Function
assertResumeGaps
Reads the counter straight off the registry rather than through a helper exported from internal/metrics: this is the only consumer outside that packag
cmd/pad/event_bus_wiring_test.go:105
↓ 1 callers
Function
assertStmtInterfaces
assertStmtInterfaces is the statement half, and it exists because the claim was previously made in a COMMENT and nowhere else: the code said statement
internal/store/nulguard.go:583
↓ 1 callers
Function
assertStreamStillOpen
assertStreamStillOpen fails if the frame channel closes within the window, which is what a handler returning looks like to a reader.
internal/server/handlers_stream_gap_test.go:235
↓ 1 callers
Method
assertUnregistered
assertUnregistered waits for the server's write to the stalled client to fail on its deadline, then requires the GET stream's session unregistered wit
internal/server/bug3808_mcp_stalled_reader_test.go:146
↓ 1 callers
Function
assertUploadWritesOnlyTheRow
allowedUploadWrite: an upload writes the attachments INSERT and nothing else (DOC-3371: no item row, no stamp).
internal/appstore/attachments_test.go:85
↓ 1 callers
Function
assertWrittenInsideTemp
assertWrittenInsideTemp asserts the consequence a wrong join would produce: a file OUTSIDE the sandboxed TMPDIR (or none at the printed path at all).
cmd/pad/cmd_attachment_view_test.go:216
↓ 1 callers
Function
assignedTo
(src: AstSource, unit: Unit, timer: string)
web/src/test/identityFenceGate.ts:235
↓ 1 callers
Function
asyncFunctions
* Async functions declared at the top level of the script block, with their * bodies. FAILS CLOSED on a body it cannot delimit rather than slicing to
web/src/routes/[username]/[workspace]/settingsIdentityFence.test.ts:59
↓ 1 callers
Function
asyncUnitStartsSafe
(decls: Declarations, unit: Unit, units: readonly Unit[])
web/src/test/identityFenceAst.ts:1547
↓ 1 callers
Function
at
(y: number)
web/src/routes/(console)/agenda/agenda.svelte.test.ts:675
↓ 1 callers
Function
at
(y: number, mo: number, d: number, h = 12, mi = 0, s = 0)
web/src/lib/chat/grouping.test.ts:8
↓ 1 callers
Function
at
(n: number)
web/src/lib/items/titleLimit.test.ts:150
↓ 1 callers
Function
at
()
web/e2e/bug-2601-sync-rename-heal.spec.ts:51
↓ 1 callers
Function
at
()
web/e2e/attachment-viewer-modal.spec.ts:319
↓ 1 callers
Function
att
(overrides: Partial<AttachmentListItem> & { id: string })
web/src/lib/components/items/ItemAttachmentStrip.svelte.test.ts:120
↓ 1 callers
Function
att
(overrides: Partial<AttachmentListItem> & { id: string })
web/src/lib/components/settings/StorageTab.svelte.test.ts:68
↓ 1 callers
Function
attPath
(id: string)
web/e2e/attachment-lifecycle.spec.ts:74
↓ 1 callers
Function
attPath
(id: string)
web/e2e/attachment-surface-chrome.spec.ts:377
↓ 1 callers
Function
attUrl
(ws = 'docapp', id = UUID, q = '')
web/src/lib/chat/markdown.svelte.test.ts:20
↓ 1 callers
Method
attachBootstrapAgenda
attachBootstrapAgenda sets the section on b. A failed read leaves it off and is logged: the bootstrap is the entry point of every session and must not
internal/server/bootstrap_agenda.go:195
↓ 1 callers
Function
attachBundle
(container: HTMLElement)
web/src/lib/components/layout/createWorkspaceModalIdentity.svelte.test.ts:75
↓ 1 callers
Function
attachStubRunner
(t *testing.T, srv *Server)
internal/server/handlers_decisions_test.go:40
↓ 1 callers
Function
attachmentActionsFor
(ctx: AttachmentActionContext)
web/src/lib/attachments/actions.ts:294
↓ 1 callers
Function
attachmentCmd
attachmentCmd is the root for `pad attachment ...` operations. Phase 1 ships upload + download — the endpoints TASK-871 and TASK-872 added. List + de
cmd/pad/cmd_attachment.go:29
↓ 1 callers
Method
attachmentCopyAuthorizer
attachmentCopyAuthorizer builds the per-row visibility check the cross-workspace copy planner applies to every attachment reference it resolves in the
internal/server/attachments_authz.go:202
↓ 1 callers
Function
attachmentDownloadCmd
()
cmd/pad/cmd_attachment.go:176
↓ 1 callers
Function
attachmentListCmd
()
cmd/pad/cmd_attachment.go:543
↓ 1 callers
Function
attachmentShowCmd
()
cmd/pad/cmd_attachment.go:481
↓ 1 callers
Function
attachmentUploadCmd
()
cmd/pad/cmd_attachment.go:68
↓ 1 callers
Function
attachmentUploadPlugin
(opts: AttachmentUploadOptions)
web/src/lib/components/editor/attachment-upload.ts:327
↓ 1 callers
Method
attachmentVariantsInWorkspace
attachmentVariantsInWorkspace loads the live variant rows of the given parents, keyed by parent id. Carries the IDENTICAL workspace + deleted_at scope
internal/store/attachments_copy_plan.go:707
↓ 1 callers
Function
attachmentViewTestHandler
attachmentViewTestHandler serves HEAD/GET for any path under /attachments/, with a fixed Content-Type and optional Content-Disposition. Accepting any
cmd/pad/cmd_attachment_view_test.go:16
↓ 1 callers
Method
attachmentsByIDInWorkspace
attachmentsByIDInWorkspace loads live attachment rows by id, scoped to one workspace (DR-11a). Rows outside the workspace and soft-deleted rows are si
internal/store/attachments_copy_plan.go:676
↓ 1 callers
Method
attemptApp
attemptApp makes one attempt and reports whether a request was sent.
internal/webhooks/app_delivery.go:155
↓ 1 callers
Function
attentionChips
(decisions: readonly ItemDecision[] | null | undefined)
web/src/lib/decisions/attentionChips.ts:36
↓ 1 callers
Function
attentionFirst
(rows: T[], attention: (row: T) => boolean)
web/src/lib/calendar/monthGrid.ts:101
↓ 1 callers
Function
attentionPercent
attentionPercent renders a Noul probability for an attention reason.
internal/server/handlers_dashboard.go:1594
↓ 1 callers
Function
attrDefaults
(attrs: Record<string, any> | undefined)
web/src/lib/collab/materializer/schemaSpec.ts:20
↓ 1 callers
Function
attributeBody
The `{…}` body of a markup attribute like `onclick={…}` or `oncreated={…}`.
web/src/routes/[username]/[workspace]/dashboardIdentityFence.test.ts:135
↓ 1 callers
Method
attributionChunkQuery
(q Queryer, table, installCol string, ids []string, out map[string]AppAttribution)
internal/store/app_attribution.go:45
↓ 1 callers
Function
auc
(pos, neg)
scripts/decision-eval/eval2.py:49
↓ 1 callers
Function
audienceChip
(entryClass: EntryClass, view: AudienceView, isAgent: boolean)
web/src/lib/calendar/audience.ts:20
↓ 1 callers
Function
audienceContains
audienceContains reports whether haystack contains needle, treating scheme-equivalent forms as equal via oauth.NormalizeAudience. Why normalize: real
internal/server/middleware_mcp_auth.go:516
↓ 1 callers
Function
audienceCounts
(entries: AgendaEntry[])
web/src/lib/calendar/audience.ts:29
↓ 1 callers
Function
audienceForNewClient
audienceForNewClient is what sub-PR C's DCR handler will use to populate a freshly-registered client's audience list. Centralized here so the policy (
internal/oauth/audience.go:222
↓ 1 callers
Function
audienceListContainsNormalized
audienceListContainsNormalized reports whether haystack contains an element that compares equal to needleNorm after trailing-slash normalization. Call
internal/oauth/audience.go:178
↓ 1 callers
Function
auditLogCmd
--- watch ---
cmd/pad/cmd_workspace.go:1421
↓ 1 callers
Function
auditPill
The workspace activity page's Audit view: the `owner` pill of the item's entry.
web/e2e/bug-2872-timeline-relation-change.spec.ts:60
↓ 1 callers
Function
authCmd
()
cmd/pad/groups.go:20
↓ 1 callers
Function
authHeaders
(token: string)
web/e2e/sse-toast-quiet.spec.ts:29
↓ 1 callers
Function
authHeaders
* TASK-2228 (audit C77): switching the split pane from one item to the next * (j/k, or a click) paid duplicate round trips: dependent panels fetched
web/e2e/task-2228-pane-switch-requests.spec.ts:18
↓ 1 callers
Function
authHeaders
* TASK-3517: a lane reorder is ONE request. The web used to send one * `PATCH /items/{slug} {sort_order}` per row: N rate-limit tokens, and a refusal
web/e2e/task-3517-reorder-one-request.spec.ts:14
↓ 1 callers
Function
authHeaders
* Item action bar (`.meta-actions`) layout invariants. * * This band was reverted out of PLAN-2326's `.tab-strip` merge and then given * two proper
web/e2e/item-action-bar-band.spec.ts:42
↓ 1 callers
Function
authHeaders
* BUG-2610 — in split view the pane's quick-actions (⚡) and ⋯ menus were * ANCHORED panels inside `.item-pane`, an `overflow-y:auto` scroll * contai
web/e2e/bug-2610-pane-menu-clip.spec.ts:22
↓ 1 callers
Function
authHeaders
* BUG-3553: a board card far down a long lane must keep a real height while the * browser skips it. * * Board cards use `content-visibility: auto`
web/e2e/bug-3553-board-offscreen-geometry.spec.ts:24
↓ 1 callers
Function
authHeaders
(fixture: SuiteFixture)
web/e2e/bug-3049-status-move-preserves-concurrent-field.spec.ts:27
↓ 1 callers
Function
authHeaders
* BUG-2389 — the public share route rendered item content with a bare * marked() call, so `pad-attachment:` references became broken <img> * tags po
web/e2e/bug-2389-share-attachment-placeholder.spec.ts:17
↓ 1 callers
Function
authHeaders
(fixture: SuiteFixture)
web/e2e/bug-2871-refresh-preserves-child-rows.spec.ts:28
↓ 1 callers
Function
authHeaders
* TASK-2256 (audit C64-C67), against the real server and router: * - C66: the library tab survives a refresh (it is in the URL now). * - C65: the
web/e2e/task-2256-playbook-presentation.spec.ts:13
↓ 1 callers
Function
authHeaders
(fixture: SuiteFixture)
web/e2e/bug-3149-duplicate-long-playbook-title.spec.ts:16
↓ 1 callers
Function
authHeaders
(fixture: SuiteFixture)
web/e2e/task-3311-touch-targets-round-2.spec.ts:20
↓ 1 callers
Function
authHeaders
* TASK-3413 (SPEC-6 U9d over U11): an installed app's item action in the * item pane, in a real browser. * * WHAT IS REAL AND WHAT IS NOT. The item
web/e2e/task-3413-item-app-action.spec.ts:16
↓ 1 callers
Function
authHeaders
(fixture: SuiteFixture)
web/e2e/task-3413-via-app-label.spec.ts:20
↓ 1 callers
Function
authHeaders
* TASK-2188 + TASK-2187, end to end: removing a select option that items * hold is confirmed before the save, with the count, and the name typed at
web/e2e/task-2188-schema-removal-confirm.spec.ts:14
↓ 1 callers
Function
authHintFor
authHintFor generates the actionable hint for ErrAuthRequired. Distinct from the upstream body — agents see "fix your auth", not the literal upstream
internal/mcp/errors.go:1514
↓ 1 callers
Function
authJson
* PLAN-2348 U3: the History tab fetches only history kinds. It used to share * one feed with the comments, so on an item whose newest 50 entries were
web/e2e/plan-2348-history-first-page.spec.ts:11
↓ 1 callers
Function
authJson
* TASK-2240 (audit C111): icon-only buttons are named for assistive tech. * A glyph-named button (B, •, ✕) is found below only by its new name, so th
web/e2e/task-2240-accessible-names.spec.ts:14
↓ 1 callers
Function
authJson
(fixture: SuiteFixture)
web/e2e/task-3615-catch-up-card.spec.ts:19
↓ 1 callers
Function
authedReq
(method, path string, body *bytes.Buffer, contentType, cookie string, headers map[string]string)
internal/server/task3926_funnel_metrics_test.go:255
↓ 1 callers
Method
authorizeCrossWorkspaceInner
(r *http.Request, workspaceSlugOrID string, scope CrossWorkspaceScope, needEdit bool)
internal/server/authz_cross_workspace.go:542
↓ 1 callers
Function
autofocus
(node: HTMLElement, enabled: boolean = true)
web/src/lib/a11y/autofocus.ts:18
↓ 1 callers
Function
avatarInitial
(key: string)
web/src/lib/chat/avatar.ts:25
↓ 1 callers
Function
avatarTone
(key: string)
web/src/lib/chat/avatar.ts:16
↓ 1 callers
Function
avgDuration
(durations []time.Duration)
internal/store/bench_concurrent_test.go:129
↓ 1 callers
Function
awaitBearingLoopAncestor
(ancestors: Node[])
web/src/lib/components/items/childIdentityFencePopulation.test.ts:542
↓ 1 callers
Function
awaitRefresh
awaitRefresh defers to a refresh in progress on this config's port. It returns nil when there is nothing to wait for, or when the server answered duri
internal/cli/refresh_marker.go:105
↓ 1 callers
Function
awarenessSent
The client IDs and clocks in every awareness frame sent.
web/src/lib/collab/wsProviderAwareness.svelte.test.ts:47
↓ 1 callers
Function
b64
(u: Uint8Array)
web/src/lib/collab/materializer/task3574IncompleteReplay.test.ts:11
↓ 1 callers
Function
b64
(u: Uint8Array)
web/src/lib/collab/materializer/materializerParity.svelte.test.ts:193
↓ 1 callers
Function
bKeepsAndAHolds
Tab B keeps E; tab A (no keeper of its own for it) holds E.
web/src/lib/items/crashDraft.svelte.test.ts:331
↓ 1 callers
Function
back
($)
plugin/hooks/register.js:429
↓ 1 callers
Function
back
()
web/src/lib/components/calendar/AgendaToolbar.svelte.test.ts:16
↓ 1 callers
Function
backAndRestore
(page: import('@playwright/test').Page, ctx: Awaited<ReturnType<typeof setup>>)
web/e2e/bug-2182-pane-back-scroll.spec.ts:161
↓ 1 callers
Function
backdateItemUpdatedAt
── standup ────────────────────────────────────────────────────────────────── backdateItemUpdatedAt directly rewrites an item's updated_at column so c
internal/server/handlers_project_intel_test.go:87
↓ 1 callers
Function
backdateRecord
backdateRecord rewrites a record's registered_at so ordering assertions do not rest on sub-second luck.
cmd/pad/cmd_session_registry_test.go:164
↓ 1 callers
Method
backfillCommentMentionsOne
(id string)
internal/store/comment_mentions_backfill.go:88
↓ 1 callers
Method
backfillConventionRolesInWorkspace
(wsID string, res *BackfillConventionRolesResult)
internal/store/convention_role_backfill.go:106
↓ 1 callers
Method
backfillNullItemNumbers
backfillNullItemNumbers assigns the next workspace-global item_number to any items that have a NULL item_number (e.g. from interrupted inserts or pre-
internal/store/store.go:1924
↓ 1 callers
Method
backfillOneChain
backfillOneChain seeds the oauth_connections + (when applicable) oauth_connection_workspaces rows for a single grant chain. Returns: - created
internal/store/oauth_connections_backfill.go:219
↓ 1 callers
Method
backfillRelationChunk
backfillRelationChunk indexes one bounded batch of items from ONE workspace, in a single transaction holding that workspace's lock.
internal/store/relation_links_backfill.go:229
← previous
next →
9,801–9,900 of 28,840, ranked by callers