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
graphEdgeType
graphEdgeType maps a stored item_links.link_type to the hyphenated edge vocabulary the graph API advertises. Stored values are first canonicalized thr
internal/store/graph.go:28
↓ 1 callers
Function
graphFixtureFlags
(f map[string]cmdhelp.Flag)
internal/mcp/catalog_readonly_test.go:1086
↓ 1 callers
Function
graphPushDevice
(t *testing.T, f *graphHTTP, user *models.User)
internal/server/commitment_graph_notices_test.go:152
↓ 1 callers
Function
gridCover
(freq string, iv int, hs, ms []int, st [2]int)
internal/schedule/neverpartial_test.go:332
↓ 1 callers
Function
gridPick
(n int)
internal/schedule/neverpartial_test.go:316
↓ 1 callers
Function
gridStride
The grid sample takes every gridStride-th cell of reachabilityGrid. The stride is coprime to every axis length (2, 24, 5, 6, 4), so it cannot alias wi
internal/schedule/neverpartial_test.go:309
↓ 1 callers
Function
grip
()
web/src/lib/components/layout/DockedSheet.svelte.test.ts:47
↓ 1 callers
Function
groupCounts
()
web/src/routes/(console)/needs/needsPage.svelte.test.ts:97
↓ 1 callers
Function
groupItems
()
web/src/routes/(console)/agenda/agenda.svelte.test.ts:47
↓ 1 callers
Function
groupItems
( items: PublicItem[], groupField: string, optionOrder: string[] )
web/src/lib/components/share/shareView.ts:445
↓ 1 callers
Function
groupOutboxDeliveries
groupOutboxDeliveries turns claimed rows into wire deliveries, folding each batch that has a header into one. THE FOLD RULE (SPEC-3 v1.6): header PLU
internal/server/outbox_drain.go:314
↓ 1 callers
Function
groupTitles
The lane headings, in render order.
web/src/lib/components/collections/ListView.falsyGroup.svelte.test.ts:104
↓ 1 callers
Function
groups
(screen: { container: HTMLElement })
web/src/lib/components/collections/ListView.relationGroup.svelte.test.ts:106
↓ 1 callers
Function
growBody
(page: import('@playwright/test').Page)
web/e2e/bug-2182-pane-back-scroll.spec.ts:245
↓ 1 callers
Function
guardAgainstOrphaning
guardAgainstOrphaning prepares cmd so the worker cannot outlive the supervising process. If the server dies mid-job (SIGKILL, the OOM killer, a crash)
internal/materialize/orphan.go:24
↓ 1 callers
Function
guardArtifactFrontmatter
guardArtifactFrontmatter extracts the leading "---\n...\n---" frontmatter region from the artifact bytes and walks it as a yaml.Node tree to enforce t
internal/server/artifact_import.go:161
↓ 1 callers
Function
guardLineWith
guardLineWith returns the single line of text starting with prefix.
internal/cli/agent_identity_test.go:453
↓ 1 callers
Function
guideLinks
(container: HTMLElement)
web/src/lib/components/workspaces/MoveToCloudLink.svelte.test.ts:12
↓ 1 callers
Function
gzipMember
gzipMember compresses b as one complete, valid gzip member.
internal/server/bug3657_gzip_footer_test.go:12
↓ 1 callers
Method
handleAcceptInvitation
handleAcceptInvitation accepts a workspace invitation by code.
internal/server/handlers_members.go:457
↓ 1 callers
Method
handleAcceptMyInvitation
handleAcceptMyInvitation answers POST /api/v1/me/invitations/{id}/accept: accepting an invitation from the list above, which cannot carry the join cod
internal/server/handlers_my_invitations.go:60
↓ 1 callers
Method
handleApplierPatch
( requestID: string, patchID: string, edits: { old: string; new: string; line_hint?: number }[], expir
web/src/lib/collab/wsProvider.svelte.ts:1392
↓ 1 callers
Method
handleApproveCLIAuthSession
handleApproveCLIAuthSession approves a pending CLI auth session. Called from the browser by an authenticated user. POST /api/v1/auth/cli/sessions/{cod
internal/server/handlers_cli_auth.go:129
↓ 1 callers
Method
handleAttachAttachment
handleAttachAttachment binds an UNATTACHED attachment to an item (TASK-2247). `pad attachment upload -` leaves item_id NULL, and share pages serve onl
internal/server/handlers_attachments_attach.go:36
↓ 1 callers
Method
handleAuditLog
handleAuditLog returns a filtered audit log. Admin-only. Supports filtering by action, user (user ID), workspace, days, and pagination.
internal/server/handlers_audit.go:12
↓ 1 callers
Method
handleControlMessage
(raw: string, sourceWs: WebSocket | null)
web/src/lib/collab/wsProvider.svelte.ts:1057
↓ 1 callers
Method
handleDeleteAccount
handleDeleteAccount handles POST /api/v1/auth/delete-account. Requires password confirmation. Deletes the user and all owned data.
internal/server/handlers_account.go:96
↓ 1 callers
Method
handleDeleteWorkspaceAttachment
handleDeleteWorkspaceAttachment soft-deletes an attachment by ID. Tombstones the row + every thumbnail variant; the orphan GC reclaims the on-disk blo
internal/server/handlers_storage.go:288
↓ 1 callers
Method
handleExportWorkspaceBundle
handleExportWorkspaceBundle streams a tar.gz containing the workspace JSON export plus every original (non-thumbnail) attachment blob and a manifest.
internal/server/handlers_export_bundle.go:92
↓ 1 callers
Method
handleFrame
handleFrame applies one inbound frame. Split out of receiveMessages so each arm ENDS the frame by returning: the arms that decline to act were `contin
internal/watchevents/redis_bus.go:1365
↓ 1 callers
Method
handleGetAttachment
handleGetAttachment streams an attachment back to the caller. Auth is enforced by the route's RequireWorkspaceAccess middleware; this handler then aut
internal/server/handlers_attachments.go:621
↓ 1 callers
Method
handleGetItem
handleGetItem retrieves a single item by slug.
internal/server/handlers_items.go:1278
↓ 1 callers
Method
handleGetPlatformSettings
handleGetPlatformSettings returns the admin-managed platform settings. Admin-only. Only allowlisted keys are returned (deny-by-default — see adminMana
internal/server/handlers_admin.go:55
↓ 1 callers
Method
handleGetWorkspaceStorageUsage
handleGetWorkspaceStorageUsage returns the consolidated quota summary for the workspace: used bytes, effective limit, the owner's plan, and whether a
internal/server/handlers_storage.go:116
↓ 1 callers
Method
handleImportURL
handleImportURL implements POST /api/v1/import/url. - Body: {"url": "https://..."} - Result: {"markdown", "detected_type", "title", "source_url", "
internal/server/handlers_import.go:67
↓ 1 callers
Method
handleImportWorkspaceBundle
handleImportWorkspaceBundle accepts a tar.gz bundle produced by the export endpoint and rebuilds the workspace including all attachment blobs. The ha
internal/server/handlers_import_bundle.go:230
↓ 1 callers
Method
handleListDeletedWorkspaces
handleListDeletedWorkspaces lists the soft-deleted workspaces the caller OWNS that are still restorable — i.e. not yet past the purge retention window
internal/server/handlers_workspaces.go:746
↓ 1 callers
Method
handleListWorkspaces
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_workspaces.go:214
↓ 1 callers
Method
handleMCPOAuthAuth
handleMCPOAuthAuth runs introspection against the OAuth server for any non-PAT bearer. Validates: - Token is recognized (storage lookup) and active.
internal/server/middleware_mcp_auth.go:244
↓ 1 callers
Method
handleMCPPATAuth
handleMCPPATAuth runs the original TASK-950 PAT validation path. Extracted from MCPBearerAuth so the OAuth branch reads cleanly without a deeply-neste
internal/server/middleware_mcp_auth.go:120
↓ 1 callers
Method
handleMatchPlaybook
handleMatchPlaybook answers "does this text ask for one of the workspace's active playbooks" as a typed-decision Choice (PLAN-3114 unit 5, TASK-3120).
internal/server/handlers_playbooks.go:298
↓ 1 callers
Method
handleOAuthAuthorize
handleOAuthAuthorize is the entry point for the authorization-code flow. fosite validates the request shape; if the user is logged in we render the in
internal/server/handlers_oauth.go:765
↓ 1 callers
Method
handleReorderWorkspaces
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_workspaces.go:298
↓ 1 callers
Method
handleRestoreWorkspace
handleRestoreWorkspace un-soft-deletes a workspace, resurfacing it (and everything transitively hidden underneath) intact. Owner-only, mirroring the D
internal/server/handlers_workspaces.go:803
↓ 1 callers
Method
handleSearch
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_search.go:16
↓ 1 callers
Method
handleStaleAgenda
handleStaleAgenda lists the occurrences the bootstrap collapsed into "stale: K items": unresolved for more than 14 days, oldest first, for the caller
internal/server/bootstrap_agenda.go:220
↓ 1 callers
Method
handleTransformAttachment
handleTransformAttachment implements POST api/v1/workspaces/{slug}/attachments/{attachmentID}/transform. Phase 1 supports two operations: "rotate" (T
internal/server/handlers_attachments_transform.go:122
↓ 1 callers
Method
handleUpdateItemCommitment
(w http.ResponseWriter, r *http.Request)
internal/server/handlers_commitments.go:278
↓ 1 callers
Method
handleUpdatePlatformSettings
handleUpdatePlatformSettings updates one or more platform settings. Admin-only. Accepts a JSON object of key-value pairs.
internal/server/handlers_admin.go:108
↓ 1 callers
Method
handleUploadAttachment
handleUploadAttachment accepts a multipart upload and writes it into the attachments table + the configured AttachmentStore. Flow: 1. Auth: grant-awa
internal/server/handlers_attachments.go:185
↓ 1 callers
Method
handler
()
cmd/pad/task4035_catch_up_test.go:46
↓ 1 callers
Function
handlers
()
web/src/lib/components/calendar/AgendaDayGroup.svelte.test.ts:12
↓ 1 callers
Function
handlersMentioned
(reason string)
internal/mcp/dispatch_http_allowlist_guard_test.go:983
↓ 1 callers
Function
handoffFocus
( container: HTMLElement, departing: Element | null = null, isVisible: (el: HTMLElement) => boolean = isFoc
web/src/lib/collections/paneFocus.ts:177
↓ 1 callers
Function
hardcodedLimit
hardcodedLimit returns the hardcoded fallback limit for a feature on a given plan.
internal/store/limits.go:457
↓ 1 callers
Function
harness
* Build a machine over a MUTABLE address, inside an `$effect.root` so its * `$effect` runs (and can be torn down). Returns the reactive address to mu
web/src/lib/attachments/surfaceMetadata.svelte.test.ts:50
↓ 1 callers
Function
harness
(refuse: boolean)
web/src/lib/collections/reorderPlan.test.ts:273
↓ 1 callers
Function
harness
()
web/src/lib/items/confirmedBase.test.ts:5
↓ 1 callers
Function
harness
(start: { local?: boolean; store?: boolean; owns?: boolean } = {})
web/src/lib/items/editorBurstDirty.test.ts:5
↓ 1 callers
Function
harness
()
web/src/lib/api/importUpload.test.ts:38
↓ 1 callers
Function
hasActiveStorageFilters
(sel: StorageFilterSelections)
web/src/lib/attachments/storageFilters.ts:41
↓ 1 callers
Function
hasActivityFilters
(f: ActivityFilters)
web/src/lib/activity/activityFilters.ts:78
↓ 1 callers
Function
hasChild
()
web/src/routes/layoutMessagesBranch.svelte.test.ts:83
↓ 1 callers
Function
hasContent
An event with nothing to say is dropped rather than drawn empty (defect 6).
web/src/lib/components/timeline/historyEvents.ts:231
↓ 1 callers
Function
hasDigit
hasDigit reports whether s contains an ASCII digit. Used at import to log a prefix that only became resolvable when parseItemRef widened (BUG-2943).
internal/store/export.go:2111
↓ 1 callers
Function
hasEntry
(agent *Agent, path string)
internal/mcp/install.go:576
↓ 1 callers
Function
hasFieldChanges
hasFieldChanges reports whether the input has any value that should trigger field-merging on update. Mirrors the CLI's check at cmd/pad/main.go itemUp
internal/mcp/dispatch_http_advanced.go:724
↓ 1 callers
Function
hasJSONNUL
hasJSONNUL also sees a NUL written as a JSON escape: a JSON column is refused on its decoded value, so the escaped form aborts the statement.
internal/store/schedule_carry_v2.go:143
↓ 1 callers
Function
hasKey
hasKey reports whether m declares key. A nil map has no keys, which is how a door with no overrides (bulk move) or no source item says so.
internal/store/relation_referents.go:1890
↓ 1 callers
Function
hasLiveAriaEscapeOwner
* Is there an ARIA-dialog Escape owner that is actually LIVE — i.e. not one the * viewer backdrop has put behind itself? With no lease every match co
web/src/lib/a11y/viewerBackdrop.ts:488
↓ 1 callers
Function
hasOurMarks
(parent: PMNode)
web/src/lib/components/editor/extensions/flankingMarks.ts:262
↓ 1 callers
Function
hasPending
hasPending reports whether any embedded migration has not yet been applied.
internal/store/migration_guard.go:38
↓ 1 callers
Function
hasReadyUploads
(view: EditorView)
web/src/lib/components/editor/attachment-upload.ts:293
↓ 1 callers
Method
hasRepeatedWorkspaceItemNumbers
hasRepeatedWorkspaceItemNumbers reports whether two live or archived items in one workspace share an item_number: the shape of per-collection numberin
internal/store/store.go:1908
↓ 1 callers
Function
hasRow
(slug: string)
web/src/lib/stores/tabs.svelte.ts:120
↓ 1 callers
Function
hasSheet
Whether the mobile sheet layout is selected on this root (TASK-2492 / T5).
web/src/lib/components/common/Lightbox.svelte.test.ts:241
↓ 1 callers
Function
hasSidebar
()
web/src/routes/layoutMessagesBranch.svelte.test.ts:81
↓ 1 callers
Function
hasStructuredEntryPrefix
Why a UUID-SHAPED raw id is diverted. This reasoning is BUG-2783's, unchanged; it moved here from the timeline's looksLikeRowID with the rule itself (
internal/models/structured_entry_ids.go:76
↓ 1 callers
Function
hasTopBar
()
web/src/routes/layoutMessagesBranch.svelte.test.ts:82
↓ 1 callers
Function
hasValue
(m map[string]any, key string)
internal/server/handlers_playbooks.go:877
↓ 1 callers
Function
has_local_dependencies
(go_mod, package)
scripts/ci-scope.py:61
↓ 1 callers
Function
hashShareToken
hashShareToken computes the SHA-256 hash of a raw share token for lookup.
internal/store/share_links.go:31
↓ 1 callers
Function
hashString
* djb2-ish 32-bit string hash. Stable, fast, and good enough for * spreading short user-ID strings across the hue circle. Returns a * non-negative 3
web/src/lib/collab/cursorColor.ts:30
↓ 1 callers
Function
have
(ok, label)
plugin/hooks/register.js:623
↓ 1 callers
Function
head
A HEAD response with the headers the helper reads.
web/src/lib/components/editor/attachment-metadata.test.ts:19
↓ 1 callers
Function
headers
()
web/src/routes/(console)/agenda/agenda.svelte.test.ts:1428
↓ 1 callers
Function
headers
(f: Fixture, agent?: string)
web/e2e/chat-shell-layout.spec.ts:15
↓ 1 callers
Function
headers
(f: Fixture, agent?: string)
web/e2e/chat-phone-sheet.spec.ts:16
↓ 1 callers
Function
heading
()
web/src/routes/(console)/needs/needsPage.svelte.test.ts:419
↓ 1 callers
Function
heads
(rows: { head: boolean }[])
web/src/lib/chat/grouping.test.ts:34
↓ 1 callers
Function
healthyServerConfig
BUG-2965. StopServer read the PID file and, on any read error, answered "server not running (no PID file)" — without asking whether anything was liste
internal/cli/server_stop_honesty_test.go:31
↓ 1 callers
Function
height
(day: string)
web/src/lib/components/calendar/WeekSummary.svelte.test.ts:74
↓ 1 callers
Function
held
(extra: Record<string, unknown> = {})
web/src/routes/(console)/needs/needsPage.svelte.test.ts:741
↓ 1 callers
Function
held
(n: number | undefined)
web/src/lib/components/collections/schemaEditImpact.ts:53
↓ 1 callers
Function
held
()
web/src/lib/items/crashDraft.svelte.test.ts:329
↓ 1 callers
Function
heldBy
(t *testing.T, rr *httptest.ResponseRecorder)
internal/server/task1809_lease_agent_default_test.go:52
↓ 1 callers
Function
heldByHeal
(pathname: string)
web/src/lib/stores/chatSurface.svelte.ts:136
↓ 1 callers
Function
heldCommittedSend
A send that commits at once and answers when `answer()` is called.
web/src/lib/stores/chatThread.svelte.test.ts:1505
↓ 1 callers
Function
heldDerive
heldDerive returns a derivation that, on its Nth call, signals it is inside the transaction and waits for release.
internal/store/task3397_provision_test.go:114
↓ 1 callers
Function
hidden
(el: Element | null)
web/src/lib/components/chat/Composer.svelte.test.ts:756
← previous
next →
11,601–11,700 of 28,840, ranked by callers