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
Function
perUuid
(_ws: unknown, uuid: string)
web/src/lib/components/common/Lightbox.svelte.test.ts:5060
Function
phase
()
web/src/lib/attachments/surfaceMetadata.svelte.ts:355
Function
phase
()
web/src/lib/attachments/viewerTextLoader.svelte.ts:218
Function
phase
()
web/src/lib/attachments/viewerBytesLoader.svelte.ts:156
Function
phase
()
web/src/lib/attachments/viewerImageLoader.svelte.ts:341
Function
pidFileOwner
pidFileOwner reports whether the pid in rec is still the process that wrote the record, by comparing the OS-reported creation time against the one rec
internal/cli/pidfile_windows.go:27
Function
pidIsSelfOrAncestor
pidIsSelfOrAncestor cannot walk the process tree portably here, so a harness pid claim is recorded UNVERIFIED (session_pid_verified=false) on this pla
internal/cli/proc_ancestry_other.go:13
Function
placeholderContext
(collectionName: string)
web/src/lib/utils/quick-action-preview.ts:107
Function
planLimitMessage
* Returns a human-readable statement of a plan limit error, with no upgrade * copy (showPlanLimitToast adds that where commerce is allowed). * Falls
web/src/lib/api/client.ts:447
Function
portal
(node: HTMLElement)
web/src/lib/utils/portalAction.ts:10
Method
postMessage
(data: unknown)
web/src/lib/services/accessStream.svelte.test.ts:425
Function
prefetchItemDetail
()
web/src/lib/components/items/itemDetailLoader.ts:36
Function
preloadCode
(..._pathnames: string[])
web/src/test/mocks/app-navigation.ts:21
Function
preloadData
(_href: string)
web/src/test/mocks/app-navigation.ts:18
Function
preserveDBFileOwnership
(_ *os.File, _ os.FileInfo)
cmd/pad/db_restore_ownership_other.go:7
Function
prio
(t: string)
web/src/lib/components/collections/renderedOrder.bug3492.svelte.test.ts:157
Function
procStartToken
procStartToken returns a stable owner-identity token for a pid on Linux: the process's start time (field 22 of /proc/<pid>/stat, in clock ticks since
internal/cli/proc_start_linux.go:28
Function
processAlive
processAlive cannot ask cheaply here, so every owner counts as alive and a Windows sweep removes nothing.
internal/testtmp/alive_windows.go:12
Function
processGone
processGone reports nil once pid no longer names a live process. The supervisor waits on (and so closes its handle to) every child it kills, so a kill
internal/materialize/procgone_windows_test.go:14
Function
processGone
(pid int)
internal/materialize/procgone_other_test.go:5
Function
processIsGone
processIsGone reports whether pid has exited.
internal/cli/pidfile_windows.go:80
Function
prop
A filter-bar handler: the bar only renders once the search box is opened.
web/src/routes/[username]/[workspace]/[collection]/collectionChatUrlWrites.svelte.test.ts:413
Function
provideCardPriorityWriter
(write: CardPriorityWriter)
web/src/lib/collections/cardPriority.ts:19
Function
pull
(c)
web/src/lib/attachments/viewerBytesLoader.svelte.test.ts:182
Function
pushAvailable
()
web/src/routes/(console)/settings/account/task4129SettleFences.svelte.test.ts:95
Function
pushAvailable
()
web/src/routes/(console)/settings/account/task3940Notifications.svelte.test.ts:44
Function
pushAvailable
()
web/src/routes/(console)/settings/account/task4315ChatSetting.svelte.test.ts:52
Function
pushAvailable
()
web/src/routes/(console)/settings/account/task4101Timezone.svelte.test.ts:65
Function
pushAvailable
()
web/src/lib/stores/auth.svelte.ts:222
Function
pushState
(_url: string | URL, _state: unknown)
web/src/test/mocks/app-navigation.ts:22
Function
queue
(markdown: string)
web/src/lib/items/contentSaver.svelte.ts:75
Function
queueMermaidClear
(target: HTMLElement)
web/src/lib/components/editor/mermaidRender.ts:234
Function
quickAddRequested
()
web/src/lib/stores/ui.svelte.ts:147
Function
quickAddTargetSlug
()
web/src/lib/stores/ui.svelte.ts:148
Function
quiet
Resolves true once quiet; false if `maxMs` passed first (a timeout is not quiet).
web/e2e/task-2224-sse-request-budget.spec.ts:140
Function
raise
Show the prompt for this refusal, in `scope`'s inline host if one is mounted.
web/src/lib/billing/planLimitPrompt.svelte.ts:41
Function
read
(dir: string, rel: string)
web/src/lib/attachments/pdfjsBuildOutput.ts:54
Method
readBootstrap
readBootstrap handles pad://workspace/{ws}/bootstrap. Shells out to `pad bootstrap --workspace <ws> --format json` so the resource stays in lockstep w
internal/mcp/resources.go:627
Function
readHostAddress
()
web/src/lib/collab/materializer/headless.ts:55
Function
readNoSupportedFormats
()
web/src/lib/components/editor/attachment-image.ts:116
Function
readSince
Was an /items-changes read issued at or after `t`?
web/e2e/task-2224-sse-request-budget.spec.ts:149
Function
rebuild
* Rebuild the search index for a workspace from a snapshot of rows * (typically `localIndex.workspaces.get(ws)?.items.values()` after * a fresh bo
web/src/lib/stores/localSearch.svelte.ts:460
Function
reconcile
(ws: string)
web/src/lib/stores/localIndex.svelte.ts:2025
Function
reconcileTokenFor
* The token a reconcile loop captures when it starts an `/items-changes` * request and hands back to `markCaughtUp` (TASK-2909). * * Distinct fr
web/src/lib/stores/localIndex.svelte.ts:2431
Function
reconnect
Force reconnect (e.g., after auth change).
web/src/lib/services/sse.svelte.ts:867
Function
reconnect
Drop the socket and let the provider reconnect; the new socket is open.
web/src/lib/collab/wsProviderAtRiskOnClose.svelte.test.ts:79
Method
record
record writes one provenance row through a committed transaction.
internal/store/item_workspace_moves_test.go:50
Method
record
record commits one provenance row. archivedSource=true makes it a MOVE (source_seq is then mandatory), false a plain copy.
internal/server/item_moved_to_test.go:80
Method
record
(op string)
internal/server/session_presence_observer_test.go:26
Method
record
(remote net.Addr, err error)
internal/server/bug3637_sse_stalled_reader_test.go:65
Function
recordAuthMethod
(method: AuthMethod)
web/src/lib/auth/lastMethod.ts:43
Function
recordJSONRPCError
recordJSONRPCError is the OnError hook that records a JSON-RPC error response (BUG-3879). mcp-go refuses an unknown tool, and answers a missing resour
internal/mcp/audit_outcome.go:50
Function
recordToolOutcome
recordToolOutcome is the tool-handler middleware that tells the /mcp audit log how a tool call ended (BUG-3879). A failed call answers the POST with 2
internal/mcp/audit_outcome.go:24
Function
recoverIfMissing
* Re-acquire workspace identity when a previous attempt left it missing * (TASK-2200). * * THE DEFECT THIS EXISTS FOR. A cold load while the ser
web/src/lib/stores/workspace.svelte.ts:413
Function
refGone
refGone is a write referencing the deleting user (or a row it owned) after the deletion removed it: the foreign key refuses it, or the row it updates
internal/store/delete_account_writer_lockorder_test.go:327
Function
reference
(n: Node, anc: Node[])
web/src/test/identityFenceAst.ts:460
Method
refresh
Refetch, unless one ran within MIN_REFETCH_INTERVAL_MS (force skips that).
web/src/lib/stores/pendingInvitations.svelte.ts:45
Function
refusals
(code: string, opts: GateOptions = {})
web/src/lib/components/items/itemDetailIdentityFenceAst.test.ts:455
Method
refuseAPITokenForAdmin
refuseAPITokenForAdmin guards every /api/v1/admin route (BUG-3361). An admin's PAT carries their identity, not their platform authority: one used to b
internal/server/server.go:903
Method
refusePATs
refusePATs answers 401 for a personal access token: the ChatGPT mount is OAuth-only. It runs before MCPBearerAuth, whose PAT branch would otherwise ac
internal/server/handlers_chatgpt_mcp.go:59
Method
refused
(outcome: SendOutcome)
web/src/lib/stores/chatThread.svelte.ts:511
Function
register
(on)
plugin/hooks/register.js:1438
Function
registerAttachmentUploadListener
( fn: (itemId: string, attachment: UploadedAttachment) => void )
web/src/lib/attachments/events.ts:195
Function
registerCollectionSearch
(handler: () => void)
web/src/lib/stores/ui.svelte.ts:173
Function
registerInlineHost
An inline host for `scope` is mounted; the returned function unmounts it.
web/src/lib/billing/planLimitPrompt.svelte.ts:53
Function
registerWorkspaceTools
(wsSlug: string)
web/src/lib/webmcp/register.ts:43
Function
relativeTime
(dateStr: string)
web/src/lib/utils/markdown.ts:684
Function
release
()
web/e2e/bug-3542-applier-unconfirmed-edits.spec.ts:51
Function
release
()
web/e2e/pane-content-link-anchors.spec.ts:437
Method
release
release commits the holding transaction, freeing every queued contender at once. Idempotent-ish: a second call is a no-op error that the test ignores.
internal/store/items_cross_workspace_copy_pg_test.go:275
Method
release
release records `n` as applied when the write went through, and drops the entry's write lock.
internal/server/client_write_marks.go:97
Method
release
()
internal/appstore/attachments.go:124
Method
release
release forgets a closing connection and returns the entries it owned that were still live: those the room must tell peers are gone.
internal/collab/awareness.go:208
Function
releaseToolbar
()
web/src/lib/components/editor/attachmentImageMissing.svelte.test.ts:610
Function
remove
* Incremental remove. Wired into `localIndex.remove` and the * 403-purge path. No-op for a missing id.
web/src/lib/stores/localSearch.svelte.ts:501
Function
remove
* Single-item delete by id. Used by SSE archive/delete events and * the 403-purge path (TASK-1360). Idempotent — removing a missing * id is a no-o
web/src/lib/stores/localIndex.svelte.ts:2174
Method
remove
An invitation was accepted or declined here.
web/src/lib/stores/pendingInvitations.svelte.ts:71
Function
removeByCollection
* Bulk-remove every item whose `collection_slug` matches. Used by * the 403-purge path (TASK-1360) when a collection-level fetch * returns `forbid
web/src/lib/stores/localIndex.svelte.ts:2196
Function
removeEventListener
()
web/src/lib/components/chat/Composer.svelte.test.ts:75
Function
removeEventListener
()
web/src/lib/components/settings/ChatEnterSendsToggle.svelte.test.ts:23
Function
removeItem
(slug: string)
web/src/lib/stores/collections.svelte.ts:267
Function
renderHTML
({ HTMLAttributes, node })
web/src/lib/components/editor/attachment-image.ts:270
Function
renderHTML
({ HTMLAttributes, node })
web/src/lib/components/editor/attachment-chip.ts:179
Function
renderHTML
({ HTMLAttributes })
web/src/lib/components/editor/extensions/safeLink.ts:20
Function
renderHTML
({ node })
web/src/lib/components/editor/extensions/htmlBlock.ts:178
Function
renegReply
(c recordedCall)
cmd/pad/task4356_remind_test.go:203
Function
replaceState
(_url: string | URL, _state: unknown)
web/src/test/mocks/app-navigation.ts:23
Method
reportAppendFailure
()
internal/collab/observer.go:116
Function
reportSessionActivity
(ctx context.Context, state, at, agent, worker string)
cmd/pad/cmd_session.go:788
Function
request
()
web/src/lib/attachments/surfaceDeleteConfirm.svelte.ts:99
Function
request
(req: ConfirmRequest)
web/src/lib/stores/confirmDialog.svelte.ts:30
Function
request
* Surface the confirm dialog. Resolves true when the user clicks * "Override anyway", false when they cancel (button click, backdrop * click, or Esc
web/src/lib/stores/openChildrenDialog.svelte.ts:61
Function
request
Resolves true to OVERWRITE (or, for a duplicate, copy the stored body anyway), false to keep.
web/src/lib/stores/pendingEditsDialog.svelte.ts:33
Method
request
request builds a bare cross-workspace probe request for the fixture's caller.
internal/server/item_moved_to_test.go:331
Method
request
(user *models.User, o reqOpts)
internal/server/authz_cross_workspace_test.go:150
Function
requestAttempt
* One attempt of `request()`, from the fetch to the parsed body, under the * attempt's deadline. Every body read is awaited HERE, so a body that stal
web/src/lib/api/client.ts:1111
Function
requestConnectAfterNavigate
(slug: string)
web/src/lib/stores/ui.svelte.ts:159
Function
requestQuickAdd
()
web/src/routes/[username]/[workspace]/dashboardLiveOnboarding.svelte.test.ts:66
Function
requestQuickAdd
()
web/src/routes/[username]/[workspace]/dashboardIdentityFence.svelte.test.ts:131
Function
requestQuickAdd
()
web/src/routes/[username]/[workspace]/dashboardAttentionFirst.svelte.test.ts:63
← previous
next →
28,201–28,300 of 28,840, ranked by callers