Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PerpetualSoftware/pad
/ functions
Functions
31,685 in github.com/PerpetualSoftware/pad
⨍
Functions
31,685
◇
Types & classes
3,533
↓ 2 callers
Function
linksSection
()
web/src/lib/components/shareDialogOpenGen.svelte.test.ts:421
↓ 2 callers
Function
listAll
(request: APIRequestContext, f: Fixture, n: number)
web/e2e/chat-thread-write.spec.ts:56
↓ 2 callers
Method
listAttachments
(wsSlug, endpoint string, params AttachmentListParams)
internal/cli/client.go:3543
↓ 2 callers
Function
listCmdWithClient
(clientFor func() *cli.Client)
cmd/pad/cmd_item.go:470
↓ 2 callers
Method
listItemVersionsPageQ
(q Queryer, itemID string, limit int)
internal/store/items.go:7089
↓ 2 callers
Method
listItemsPage
listItemsPage runs the list one row past params.Limit (always set, by parseItemListParams) to learn whether more exist, trims that row, and sets the p
internal/server/handlers_items.go:4783
↓ 2 callers
Method
listItemsQ
(q Queryer, workspaceID string, params models.ItemListParams)
internal/store/items.go:1318
↓ 2 callers
Function
listKeyNav
( order: readonly string[], focusedId: string | null, step: 1 | -1, )
web/src/lib/collections/listNav.ts:13
↓ 2 callers
Method
listPlaybookItems
listPlaybookItems gathers the workspace's playbook items, scoped to what the caller can see. Shared by handleListPlaybooks and handleMatchPlaybook (TA
internal/server/handlers_playbooks.go:107
↓ 2 callers
Method
listStarredItems
(userID, workspaceID string, includeTerminal, withBodies bool)
internal/store/item_stars.go:107
↓ 2 callers
Method
listTerminalItemsSince
listTerminalItemsSince fetches items that reached a *positive* terminal since cutoff. Terminal values are resolved per collection via models.Collectio
internal/server/handlers_project_intel.go:151
↓ 2 callers
Method
listVersionsQ
listVersionsQ is ListVersions against a caller-supplied executor, so the snapshot read (BUG-3833) lists the rows inside its own transaction.
internal/store/versions.go:97
↓ 2 callers
Function
listenOnFreePort
Listens on 127.0.0.1:0 and resolves the port the OS assigned (no reserve-then-bind race).
web/e2e/lib/real-install.ts:91
↓ 2 callers
Function
literal
(e ast.Expr)
scripts/ci-web-census/main.go:50
↓ 2 callers
Function
liveFlush
The tab's flush output: ItemDetail's normalize, then serialize.
web/src/lib/collab/materializer/materializerParity.svelte.test.ts:198
↓ 2 callers
Function
liveImport
liveImport sends headers and prefix, stalls, then sends rest, over a fresh connection.
internal/server/handlers_import_bundle_bug3184_test.go:263
↓ 2 callers
Function
liveOwned
(t *testing.T, s *Store, wsID string)
internal/store/bug3099_delete_account_lock_test.go:33
↓ 2 callers
Function
liveWorkspace
(t *testing.T, srv *Server, id string)
internal/server/bug3099_account_delete_owned_test.go:33
↓ 2 callers
Function
livingChildPID
livingChildPID starts a process that outlives the test body (killed in cleanup) and returns its pid: a LIVE pid that is not an ancestor.
internal/cli/session_registry_test.go:35
↓ 2 callers
Function
load
(scope: WorkspaceScope)
web/src/lib/components/items/ItemDetail.workspaceScope.svelte.test.ts:151
↓ 2 callers
Method
load
()
web/src/lib/stores/chatInbox.svelte.ts:282
↓ 2 callers
Function
loadAllow
loadAllow reads the allowlist; an absent file allows nothing, and a line without a reason is an error, so an exception always says why.
cmd/depages/main.go:299
↓ 2 callers
Function
loadCensusPackage
loadCensusPackage type-checks the one package in dir, once per test binary: the reader census and the handoff census ask different questions of the sa
internal/server/body_reader_census_test.go:33
↓ 2 callers
Function
loadDashboard
(client *cli.Client, ws string)
cmd/pad/query.go:352
↓ 2 callers
Function
loadItemDetail
()
web/src/lib/components/items/itemDetailLoader.ts:19
↓ 2 callers
Function
loadManifestBodySeed
(fsys fs.FS, raw json.RawMessage)
internal/collections/templates_manifest.go:658
↓ 2 callers
Method
loadNewer
Fetch one page after the window's newest row.
web/src/lib/stores/chatThread.svelte.ts:324
↓ 2 callers
Method
loadOlder
Fetch the page before the window's oldest row. A failure keeps the window.
web/src/lib/stores/chatThread.svelte.ts:303
↓ 2 callers
Method
loadOwnSessionPresence
(userID string)
internal/server/handlers_role_queue.go:63
↓ 2 callers
Function
loadPushCollapseCases
(t *testing.T)
internal/server/push_message_collapse_test.go:19
↓ 2 callers
Method
loadResolutionUndoQ
(q Queryer, sc *models.ItemSchedule)
internal/store/schedule_reopen.go:329
↓ 2 callers
Function
loadService
()
web/src/lib/services/sseLiveness.svelte.test.ts:91
↓ 2 callers
Function
loadService
()
web/src/lib/services/sseSyncSpread.svelte.test.ts:77
↓ 2 callers
Function
loadSuiteFixture
()
web/e2e/fixtures.ts:38
↓ 2 callers
Function
localArmStateString
localArmStateString maps the tri-state to the stable JSON token.
cmd/pad/cmd_session.go:707
↓ 2 callers
Method
lockBindingsInOrderTx
lockBindingsInOrderTx locks the app_token_bindings rows a predicate selects, tombstones included, in request_id order, on Postgres (SQLite's single wr
internal/store/install_clients.go:690
↓ 2 callers
Method
lockCommentForDeleteTx
lockCommentForDeleteTx reads the row DeleteComment acts on. On Postgres it first locks the row's whole ancestor chain, root first, then the row: reapT
internal/store/comments.go:605
↓ 2 callers
Method
lockCommentsRootFirstTxCtx
(ctx context.Context, tx *sql.Tx, scopeCol string, scopeVals ...string)
internal/store/comments.go:675
↓ 2 callers
Method
lockConnectionTx
lockConnectionTx takes the connection row's write lock inside tx (a no-op UPDATE: a row lock on Postgres, the database write lock on SQLite), so a gua
internal/store/oauth_connections.go:419
↓ 2 callers
Method
lockNeedsHide
lockNeedsHide serializes the two hide-state writes (snooze and not-mine) for one (user, item) on Postgres, so each write's delete of the other sees a
internal/store/needs_not_mine.go:25
↓ 2 callers
Method
lockOwnComment
lockOwnComment reads the comment the caller addresses through itemID, row locked on Postgres as the human edit locks it, and refuses unless it is on t
internal/store/fenced_comments.go:145
↓ 2 callers
Method
lockUserRowTx
lockUserRowTx takes the account row lock (Postgres; SQLite's BEGIN IMMEDIATE already serializes writers). sql.ErrNoRows when it is gone.
internal/store/oauth_identities.go:48
↓ 2 callers
Function
lockWaiters
lockWaiters counts this test database's backends waiting on a lock.
internal/store/delete_account_writer_lockorder_test.go:342
↓ 2 callers
Function
lockedDir
lockedDir builds root/name the way mkdirOwned does, in its order: take the flock in a staging directory, then rename into place. The returned file hol
internal/testtmp/lock_unix_test.go:30
↓ 2 callers
Function
lockedGesture
(e: Event)
web/src/lib/collections/lockableDndzone.ts:52
↓ 2 callers
Method
logActivityWithMetaReturningID
(workspaceID, documentID, action string, r *http.Request, metadata string)
internal/server/handlers_documents.go:449
↓ 2 callers
Method
logExhaustion
logExhaustion is the ONE line a stuck item leaves: which item, how many failures, and the kind of the last one. WARN, because from here on the item's
internal/server/materialize_recovery.go:661
↓ 2 callers
Method
logSpend
logSpend writes the evaluation's spend line: counts and identifiers only, never a question, an answer, the item's text or an error message (a provider
internal/decision/runner.go:727
↓ 2 callers
Method
logStop
(c *child, reason string, delay time.Duration, extra ...any)
internal/materialize/supervisor.go:980
↓ 2 callers
Function
looksLikeFieldKey
(field: string)
web/src/lib/utils/activityChanges.ts:92
↓ 2 callers
Function
lookupAll
(src Sources, deps []Dep, concurrency int)
cmd/depages/main.go:322
↓ 2 callers
Method
lookupAssigneeID
lookupAssigneeID issues an in-handler GET against api/v1/workspaces/{ws}/members and returns the user_id whose name OR email matches `assign`. Case-in
internal/mcp/dispatch_http_advanced.go:218
↓ 2 callers
Method
lookupRoleID
lookupRoleID issues an in-handler GET against api/v1/workspaces/{ws}/agent-roles/{slug} and returns the role's canonical id. The handler accepts eithe
internal/mcp/dispatch_http_advanced.go:165
↓ 2 callers
Function
loopBindings
The names a loop's own head declares (`for (let i …)`, `for (const x of …)`).
web/src/test/identityFenceAst.ts:773
↓ 2 callers
Function
lostLaneLabel
( target: { lostLane: string; lostField?: string }, labelFor: (fieldKey: string) => string, )
web/src/lib/collections/laneDrafts.ts:130
↓ 2 callers
Function
luminance
(hex: string)
web/src/routes/[username]/[workspace]/graph/graphTheme.ts:43
↓ 2 callers
Function
makeCollection
(id: string, slug: string)
web/src/lib/components/common/QuickActionsMenu.svelte.test.ts:77
↓ 2 callers
Function
makeDest
()
internal/models/testdata/decodeshapes/shapes.go:26
↓ 2 callers
Function
makeFlusher
(overrides: Partial<CollabFlusherConfig> = {})
web/src/lib/collab/collabFlushStamp.test.ts:16
↓ 2 callers
Function
makeTarGzWithExport
(t *testing.T, exportJSON []byte)
internal/server/task4839_export_limit_test.go:43
↓ 2 callers
Function
makeTarget
A stand-in scroll container; `scrollTo` firing is the "restore proceeded" signal.
web/src/lib/scroll/restore.svelte.test.ts:58
↓ 2 callers
Function
manifest
(origin: string)
web/e2e/task-3415-real-install.spec.ts:62
↓ 2 callers
Function
manifestField
manifestField reads one top-level string from a stored manifest.
internal/store/app_item_actions.go:193
↓ 2 callers
Function
map
(...rs: ChatRef[])
web/src/lib/components/chat/MessageBubble.svelte.test.ts:262
↓ 2 callers
Function
mapGrantRevoked
mapGrantRevoked turns a mint refused on a revoked grant into fosite.ErrInactiveToken, which fosite answers invalid_request rather than server_error (B
internal/oauth/storage.go:288
↓ 2 callers
Function
mapItemPatch
mapItemPatch is itemPatchRoute with its two numeric inputs validated here (BUG-4065, folded from BUG-4061, decision 63360424). They used to be forward
internal/mcp/dispatch_http_routes.go:922
↓ 2 callers
Function
mapPflagType
mapPflagType translates pflag Value.Type() strings to the cmdhelp v0.1 type vocabulary (spec §5.1) and reports whether the flag is repeatable. pflag
internal/cmdhelp/json.go:444
↓ 2 callers
Function
mapWorkspaceClaim
mapWorkspaceClaim dispatches `pad workspace claim <code> --workspace <slug>`. POST /api/v1/oauth/claim with body {workspace, code} — see internal/ser
internal/mcp/dispatch_http_routes.go:1550
↓ 2 callers
Method
markConversationSeq
column is one of the two fixed marker columns above, never caller input (TASK-4038).
internal/store/conversations.go:675
↓ 2 callers
Function
markItemArchived
(itemId: string)
web/src/lib/attachments/archivedItemRegistry.ts:50
↓ 2 callers
Function
markItemListTruncation
markItemListTruncation trims a list result fetched with limit+1 back to limit and, when it had the extra row, sets has_more on the structured result a
internal/mcp/catalog_item.go:976
↓ 2 callers
Method
markRaw
---- an offset update leaves the mark ---- markRaw writes the mark the cancel hook writes, on item i's outstanding occurrence, with an optional dragge
internal/store/commitment_cancel_test.go:295
↓ 2 callers
Method
markUnconfirmedAdmission
markUnconfirmedAdmission records that Redis did not acknowledge a subscription within the bound, so its callers are being admitted without this instan
internal/events/redis_bus.go:2026
↓ 2 callers
Function
markWorkspaceDropped
* Record that a workspace's rows are gone. EVERY path that drops them calls * this — `reset()`, which deletes the whole state entry, and `bootstrap()
web/src/lib/stores/localIndex.svelte.ts:390
↓ 2 callers
Function
markdownShowBodies
IDEA-2937: `pad item show <ref> --format markdown` is the machine-facing read of an item body, and `pad item update <ref> --stdin` is the write. Toget
cmd/pad/item_show_markdown_roundtrip_test.go:31
↓ 2 callers
Function
markerRun
BUG-3215. Between the stop and the restart nothing serves the port, and a pad CLI call in that window used to auto-start a server of its own (the call
internal/buildtools/install_refresh_marker_test.go:23
↓ 2 callers
Function
marketplaceEntries
(doc map[string]any)
internal/mcp/claude_plugin_manifest_test.go:93
↓ 2 callers
Function
marketplaceSource
(t *testing.T, dir string)
internal/buildtools/pin_plugin_marketplace_test.go:92
↓ 2 callers
Function
marshalPIDRecord
marshalPIDRecord is the file's bytes for rec.
internal/cli/pidfile.go:37
↓ 2 callers
Function
marshalWithPersistedEntryIDs
marshalWithPersistedEntryIDs marshals an append helper's result and gives any sibling entry without a usable, unique id a persisted one (BUG-2788). Th
internal/models/item.go:1150
↓ 2 callers
Function
maskEmailShapedNames
maskEmailShapedNames replaces email-shaped person names in place.
internal/mcp/chatgpt_project.go:509
↓ 2 callers
Function
masterCol
The route column that holds the MASTER (route-owned `.item-page-host > * .item-page` direct child). The pane is a SEPARATE direct child * (`aside.
web/e2e/pane-full-page-capstone.spec.ts:81
↓ 2 callers
Function
matchModeAlias
(options []modeOption, input string)
cmd/pad/configure.go:297
↓ 2 callers
Function
matches
matches returns every start offset of sub in s, overlapping ones included: "aa" occurs twice in "aaa", and a uniqueness check that counted it once wou
internal/bodypatch/bodypatch.go:115
↓ 2 callers
Function
materialize
(jobJSON: string)
web/src/lib/collab/materializer/entry.ts:78
↓ 2 callers
Function
maxScale
(g: Geometry)
web/src/lib/attachments/zoom.ts:248
↓ 2 callers
Method
maxTransitionSeqs
(q Queryer, ids []string)
internal/store/milestone.go:596
↓ 2 callers
Function
maxWorkspaceSeq
(t *testing.T, s *Store, workspaceID string)
internal/store/items_create_tx_test.go:71
↓ 2 callers
Function
mayReadImportNote
mayReadImportNote: the workspace's owners, and instance admins who are MEMBERS of it. An admin admitted only through a guest grant reads the workspace
internal/server/handlers_workspaces.go:662
↓ 2 callers
Method
maybeWarnStorageQuota
maybeWarnStorageQuota emits a slog warning if the workspace's usage has crossed the owner-plan storage limit. Phase 1 is observational only — see DOC-
internal/server/handlers_attachments.go:1043
↓ 2 callers
Function
mcp
(tool, args)
plugin/hooks/register.js:97
↓ 2 callers
Method
mcpAuditDroppedSnapshot
mcpAuditDroppedSnapshot returns the cumulative number of audit entries dropped due to buffer-full backpressure. Exported as a method on Server so admi
internal/server/middleware_mcp_audit.go:201
↓ 2 callers
Function
mcpAuditEntryToDTO
(e models.MCPAuditEntry)
internal/server/handlers_mcp_audit.go:65
↓ 2 callers
Method
mcpBlockedReasonFor
(ep config.MCPEndpoints)
internal/server/handlers_admin_mcp.go:244
↓ 2 callers
Method
mcpChallengeMetadataURL
mcpChallengeMetadataURL is the protected-resource metadata URL a challenge on r names: THIS mount's document (TASK-3321 U2b; the ChatGPT mount stamps
internal/server/middleware_mcp_auth.go:646
↓ 2 callers
Function
mcpConnectionStatsKey
mcpConnectionStatsKey is the canonical map key for the result of MCPConnectionStatsForUser. Exposed via a helper so callers constructing lookup keys d
internal/store/mcp_audit.go:269
↓ 2 callers
Function
mcpRequestUA
TASK-2307: pad_mcp_http_requests_total{mount, method, client} counts each authenticated request reaching an MCP mount, so a week of Cloud traffic says
internal/server/task2307_mcp_request_counter_test.go:17
↓ 2 callers
Function
mcpServeCmd
mcpServeCmd implements the stdio MCP server. The cobra command is a thin wrapper around internal/mcp.Server — all transport / handshake behaviour and
cmd/pad/mcp.go:259
↓ 2 callers
Function
mcpServedVersion
mcpServedVersion reports whether the transport behind a mount serves version. A transport that does not say (a test stub, a wrapper that does not forw
internal/server/mcp_stream_keepalive.go:212
↓ 2 callers
Method
mcpStreamPrincipalStillValid
mcpStreamPrincipalStillValid reports whether the stream may continue: its credential is live, and its user still exists and is enabled.
internal/server/mcp_stream_credential.go:66
← previous
next →
8,401–8,500 of 31,685, ranked by callers