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
settle
Fetch → probe → render → the deferred semantics pass, plus Tiptap's mount.
web/src/lib/components/timeline/timelineEditorOwnedImages.svelte.test.ts:164
↓ 2 callers
Function
settle
()
web/src/lib/components/timeline/timelineRefreshDeletion.svelte.test.ts:117
↓ 2 callers
Function
settle
()
web/src/lib/components/timeline/timelineCommentOnUpdateLive.svelte.test.ts:119
↓ 2 callers
Function
settle
()
web/src/lib/components/timeline/ItemTimeline.itemUpdated.svelte.test.ts:51
↓ 2 callers
Function
settle
()
web/src/lib/components/collections/awaitsHumanToggle.svelte.test.ts:30
↓ 2 callers
Function
settle
()
web/src/lib/components/collections/task2191CreateDraftGuard.svelte.test.ts:23
↓ 2 callers
Function
settle
()
web/src/lib/components/collections/schemaEditImpact.svelte.test.ts:34
↓ 2 callers
Function
settle
()
web/src/lib/components/collections/task2191EditDraftGuard.svelte.test.ts:32
↓ 2 callers
Function
settle
()
web/src/lib/components/collections/archiveRestore.svelte.test.ts:41
↓ 2 callers
Function
settle
()
web/src/lib/components/chat/ChatHost.phone.svelte.test.ts:110
↓ 2 callers
Function
settle
()
web/src/lib/components/chat/ChatHost.svelte.test.ts:99
↓ 2 callers
Function
settle
()
web/src/lib/components/items/attachmentDeleteIdentityFence.svelte.test.ts:123
↓ 2 callers
Function
settle
()
web/src/lib/components/items/itemDetailLoadsOnce.svelte.test.ts:136
↓ 2 callers
Function
settle
* Let the lazy HEAD probe AND the activation's own MIME resolution settle. * Activation is asynchronous as of TASK-2433 — it resolves the MIME befor
web/src/lib/components/editor/attachmentImageMissing.svelte.test.ts:138
↓ 2 callers
Function
settle
()
web/src/lib/components/editor/imageEditMasterFreeze.svelte.test.ts:49
↓ 2 callers
Function
settle
Let the capabilities promise + the MIME probe settle.
web/src/lib/components/editor/editorCapabilitiesDelivery.svelte.test.ts:168
↓ 2 callers
Function
settle
()
web/src/lib/stores/tabs.svelte.test.ts:109
↓ 2 callers
Function
settle
Lets resolved bridge calls and the renders they cause settle, under real or fake timers.
web/src/mcp-app/Board.svelte.test.ts:57
↓ 2 callers
Function
settleIfCurrent
* Settle only if this call is still the one that speaks for the store. * * TWO fences, for two different races. `seq` is the navigation fence: a slo
web/src/lib/stores/workspace.svelte.ts:164
↓ 2 callers
Function
settleMembership
* Settle membership for `userId`'s view of `slug`: publish the answer and * remember it. Every path that turns `membershipKnown` true goes through he
web/src/lib/stores/workspace.svelte.ts:130
↓ 2 callers
Method
settleSkips
(token string, skips map[string][]string)
internal/server/push_dispatch.go:680
↓ 2 callers
Function
settledOrBounded
Resolves when `r` settles or after GO_FALLBACK_MS, whichever first; never rejects.
web/src/lib/stores/chatSurface.svelte.ts:151
↓ 2 callers
Function
setup
(bundler)
web/scripts/build-mcp-app.mjs:30
↓ 2 callers
Function
setupCmd
()
cmd/pad/cmd_auth.go:27
↓ 2 callers
Function
setupFakePostgresDump
(t *testing.T)
cmd/pad/cmd_db_backup_postgres_test.go:13
↓ 2 callers
Function
sha
(s: string)
web/src/test/identityFenceGate.ts:275
↓ 2 callers
Function
sha256hex
sha256hex returns the SHA-256 hex digest of a string.
internal/server/middleware_auth.go:1021
↓ 2 callers
Function
shapeWith
(s shape, extra shape)
internal/mcp/chatgpt_project.go:82
↓ 2 callers
Function
share
(fixture: SuiteFixture, request: APIRequestContext, path: string, data: Record<string, unknown> = {})
web/e2e/bug-3050-stale-body-renders.spec.ts:33
↓ 2 callers
Method
shareAttachmentAnchors
shareAttachmentAnchors reports whether att is a live image that belongs to this share link's target — an item-share serves only its own item's attachm
internal/server/handlers_share_attachments.go:233
↓ 2 callers
Method
shareTargetLive
shareTargetLive resolves a share link's target and reports whether it is still live (BUG-3635): for an item share, the item AND its collection; for a
internal/server/handlers_share_attachments.go:273
↓ 2 callers
Function
sheet
(c: HTMLElement)
web/src/lib/components/chat/ChatHost.phone.svelte.test.ts:201
↓ 2 callers
Function
shipped
()
web/src/lib/stores/chatSurfaceCallers.test.ts:29
↓ 2 callers
Function
shortDay
(day: string, today: string, options: ShortDateOptions = {})
web/src/lib/calendar/presentation.ts:373
↓ 2 callers
Function
shouldApplyRetag
( existing: ItemIndexRow | undefined, collectionId: string, newSlug: string, )
web/src/lib/stores/localIndexPersistence.ts:660
↓ 2 callers
Method
shouldCreateItemVersion
(q rowQueryer, itemID, actor, source, viaApp string)
internal/store/items.go:6589
↓ 2 callers
Method
shouldCreateVersionQ
shouldCreateVersionQ is ShouldCreateVersion against a caller-supplied executor. UpdateDocument calls it from INSIDE its transaction, and a read issued
internal/store/versions.go:30
↓ 2 callers
Function
shouldDedupeEditorSpace
( lastFlushedContent: string | null, seedMarkdown: string | null, normalizedMarkdown: string, seedCanonica
web/src/lib/collab/flushDedupe.ts:33
↓ 2 callers
Function
shouldEmbedAsImage
( meta: AttachmentMeta, wantVariant?: 'thumb-sm' | 'thumb-md' | 'original' )
web/src/lib/markdown/attachments.ts:188
↓ 2 callers
Method
shouldScanOversizedOutbox
shouldScanOversizedOutbox reports whether enough time has passed to run the diagnostic again, and stamps the clock when it says yes. FIRST TICK ALWAY
internal/server/outbox_drain.go:275
↓ 2 callers
Function
show
( message: string, type: Toast['type'] = 'info', duration?: number, link?: string, action?: ToastAction,
web/src/lib/stores/toast.svelte.ts:112
↓ 2 callers
Function
show
(ctx: ReturnType<typeof setup>, args: Record<string, unknown>, result: ToolResultLike)
web/src/mcp-app/ItemCard.svelte.test.ts:44
↓ 2 callers
Function
showDropLine
(pos: number)
web/src/lib/components/editor/block-drag-handle.ts:638
↓ 2 callers
Function
showMenu
()
web/src/lib/components/editor/block-drag-handle.ts:436
↓ 2 callers
Function
shown
()
web/src/lib/components/settings/CalendarFeedsSettings.svelte.test.ts:51
↓ 2 callers
Function
sidebarCollections
(page: Page)
web/e2e/permission-walk-sidebar.spec.ts:37
↓ 2 callers
Function
signEmail
(emailAddr, secret string)
internal/email/unsubscribe.go:28
↓ 2 callers
Function
signTwoFAChallenge
(userID, binding string, epoch int64, secret []byte)
internal/server/twofactor_challenge.go:90
↓ 2 callers
Function
signedInFor
signedInFor is currentUser for a public route that reads the caller about a resource in workspaceID (a share link, an invitation). A token pinned to a
internal/server/pinned_token.go:70
↓ 2 callers
Function
signupClient
signupClient is "app" for a request from a Pad mobile shell (its native API client and its web view send the same PadShell user agent) and "web" other
internal/server/funnel_metrics.go:30
↓ 2 callers
Function
signups
(t *testing.T, m *metrics.Metrics, client string)
internal/server/task3926_funnel_metrics_test.go:22
↓ 2 callers
Function
silentApplier
Route tests for PLAN-2975's write-first-apply-second ordering. The lexical guard in handlers_items_title_test.go proves the refusal ARMS are present,
internal/server/handlers_items_content_route_test.go:28
↓ 2 callers
Method
since
since is this package's replay-window query, scoped to Notification. It NO LONGER MIRRORS internal/events.replayBuffer.since, and the difference is d
internal/watchevents/watchevents.go:395
↓ 2 callers
Method
sinceBounded
sinceBounded is since restricted to the OLDEST keep entries — the buffer as it stood at some earlier moment, for a caller that registered then and has
internal/events/bus.go:524
↓ 2 callers
Function
sizes
(page: Page, isMobile: boolean)
web/e2e/task-2244-mobile-touch-targets.spec.ts:37
↓ 2 callers
Function
skillVersionNewer
skillVersionNewer reports a stamp version strictly newer than running. Only when BOTH parse as semver: a dev build (or any unparseable version) never
internal/cli/skillstamp.go:137
↓ 2 callers
Function
skipRegexLiteral
Index just past a regex literal opening at `i`, or -1 when `/` is not one.
web/src/test/identityFenceSource.ts:611
↓ 2 callers
Function
skipStringLiteral
* Index just past the string or template literal opening at `i`, or -1. * A template's `${…}` bodies are CODE, not text: they are * walked for decla
web/src/test/identityFenceSource.ts:593
↓ 2 callers
Function
sleep
(ms)
web/scripts/ci-audit.mjs:71
↓ 2 callers
Function
sleep
(ms: number)
web/e2e/task-2224-sse-request-budget.spec.ts:161
↓ 2 callers
Function
slot
(text: string)
web/src/lib/components/layout/BottomNav.svelte.test.ts:53
↓ 2 callers
Function
slots
()
web/src/lib/components/layout/BottomNav.svelte.test.ts:52
↓ 2 callers
Function
slow
()
web/src/lib/attachments/surfaceMetadata.svelte.ts:368
↓ 2 callers
Function
slugRacePGStore
TASK-2885 (IDEA-2874 + BUG-2875). A collection's slug is an identifier and a mutable name at once, and two writers used to allocate it with no orderin
internal/store/collections_slug_race_pg_test.go:43
↓ 2 callers
Function
slugSet
(hints []WorkspaceHint)
internal/mcp/dispatch_http_envelope_test.go:418
↓ 2 callers
Function
smallCode
smallCode reports a status or exit code: the bare key code, or a name on statusCodeNames, with a value of up to three digits (as benignCode accepts in
internal/logging/scrub.go:529
↓ 2 callers
Function
snapshot
(rows: ItemIndexRow[])
web/src/lib/stores/localIndexScopeStale.svelte.test.ts:27
↓ 2 callers
Function
snapshot
(cursor = '10')
web/src/lib/stores/localIndexReconcileOneReadPerAsk.svelte.test.ts:26
↓ 2 callers
Function
snapshot
(over: Record<string, unknown> = {})
web/src/mcp-app/Board.svelte.test.ts:22
↓ 2 callers
Method
snapshotCurrentWorkspacesSQL
snapshotCurrentWorkspacesSQL inserts, for one connection, a row per live workspace the wildcard reaches for a user today: membership, or a LIVE collec
internal/store/oauth_connections.go:391
↓ 2 callers
Function
snapshotWith
(ed: Editor, job: MaterializeJob)
web/src/lib/collab/materializer/entry.ts:141
↓ 2 callers
Function
snippetAround
snippetAround returns roughly `snippetRadius*2` bytes of `content` centered on `position` (the start of the `[[`). Caller doesn't need the snippet to
internal/store/wiki_links.go:1663
↓ 2 callers
Function
snippetFor
(text: string)
web/src/lib/utils/hiddenContentDetector.ts:243
↓ 2 callers
Method
softKeyboardUp
* A soft keyboard came up: with nothing stored, touch mode holds for this page. A stored * choice is paused by `hardware` reading uiStore.keyboardVi
web/src/lib/chat/inputMode.svelte.ts:57
↓ 2 callers
Function
sortFieldKeys
sortFieldKeys is the set of field keys a sort names, leaving out the built-in columns and any key a field name cannot be.
internal/store/item_select_sort.go:43
↓ 2 callers
Function
sortedTimelineIDs
(ids []string)
internal/server/plan2348_timeline_kinds_test.go:69
↓ 2 callers
Function
sourcesOf
(versions []models.Version)
internal/server/handlers_items_collab_versions_test.go:222
↓ 2 callers
Function
spans
(s: string, opener: RegExp)
web/src/lib/stores/chatSurfaceCallers.test.ts:50
↓ 2 callers
Function
specTemplateCollection
specCollectionByFile finds a collection by slug within a template, failing the test if it's missing. Small local helper to keep the SDD tests self-con
internal/collections/templates_sdd_test.go:13
↓ 2 callers
Function
spend
(res []gateResult)
scripts/decision-eval/conventions/gates.go:319
↓ 2 callers
Method
spentFor
spentFor is the one exhaustion predicate admit and the sweep share: the budget recorded at the last failure still applies (the op-log has not moved pa
internal/server/materialize_recovery.go:354
↓ 2 callers
Function
spin
(until: () => boolean, what: string, rounds = 60)
web/src/routes/[username]/[workspace]/dashboardWorkspaceNotFound.svelte.test.ts:80
↓ 2 callers
Function
splitAroundArguments
(body: string)
web/src/lib/playbooks/arguments.ts:91
↓ 2 callers
Function
splitRef
(ref string)
internal/server/handlers_item_context.go:625
↓ 2 callers
Function
squatPlaybook
(t *testing.T, e *appsEnv, title, slug string)
internal/server/handlers_apps_provision_test.go:242
↓ 2 callers
Function
st
(v: ItemCommitmentView)
web/src/lib/commitment.test.ts:156
↓ 2 callers
Method
stageAppInstall
stageAppInstall fetches, stages, validates and previews under a reservation already taken. Any error leaves the caller to delete the reservation. ext
internal/server/handlers_apps_install.go:283
↓ 2 callers
Function
stageBox
The stage box in client coords (the shortened sheet stage on a phone).
web/e2e/attachment-viewer-touch.spec.ts:99
↓ 2 callers
Function
stageCenter
(g: Geometry)
web/src/lib/attachments/zoom.ts:209
↓ 2 callers
Function
stagedFixture
Readers: one test per reader that consults decisions, each of which fails when that reader's Unsurfaced line is dropped. stagedFixture leaves an item
internal/decision/effort_backfill_test.go:314
↓ 2 callers
Method
stagingEmpty
stagingEmpty fails if an upload left a staged temp file behind.
internal/appstore/attachments_test.go:98
↓ 2 callers
Function
stagingPattern
stagingPattern is where mkdirOwned builds a directory before it holds the lock. It does not start with prefix, so no sweep can match it.
internal/testtmp/testtmp.go:122
↓ 2 callers
Method
stale
* True when this token may no longer write: the fence was invalidated (or * restarted) since it was taken, or the view moved on.
web/src/lib/attachments/viewFence.ts:129
↓ 2 callers
Function
staleEditRefusal
staleEditRefusal is the error `pad item edit` returns instead of opening the editor on a body the server reports as behind its live collaborative docu
cmd/pad/cmd_item.go:4170
↓ 2 callers
Function
staleHintWith
staleHintWith is staleHint; advise adds the --occurrence retry advice, which only a resolve can follow.
cmd/pad/cmd_schedule.go:507
↓ 2 callers
Function
stallAfterHead
stallAfterHead sends a GET for path, with any extra header lines, and reads the response head only, then never reads again. The connection stays open,
internal/server/bug3821_write_deadline_test.go:76
↓ 2 callers
Function
stallCalls
stallCalls holds a call to the stall contract: a CapStall whose Limit is MaxSteps, from the real code path, with no goroutine left behind.
internal/schedule/budget_test.go:29
↓ 2 callers
Function
stallPos
stallPos is the generator's reported stall position.
internal/schedule/stallpos_test.go:10
↓ 2 callers
Method
stampLastSeen
stampLastSeen records that this workspace's subscription just received something from Redis. GENERATION-CHECKED like every other bookkeeping write ke
internal/events/redis_bus.go:2432
↓ 2 callers
Function
stampSeqChain
stampSeqChain records on an item activity entry the write's place in the item's seq chain (PLAN-3578): it moved the item from prev to seq, and wrote v
internal/server/handlers_items_patch.go:422
← previous
next →
8,601–8,700 of 28,840, ranked by callers