MCPcopy Create free account

hub / github.com/PerpetualSoftware/pad / functions

Functions28,840 in github.com/PerpetualSoftware/pad

↓ 3 callersFunctionviewerPrev
(page: Page)
web/e2e/lib/attachment-viewer.ts:151
↓ 3 callersFunctionvis
(ref: string, workspace = 'w')
web/src/lib/stores/chatThread.svelte.test.ts:1634
↓ 3 callersFunctionvisibleAt
* Names bound, at `fn`, by the scopes around it: every enclosing function, * block, loop head, switch body and catch clause. The component's own scri
web/src/test/identityFenceAst.ts:795
↓ 3 callersMethodvisibleAttachment
(id string)
internal/store/fenced_attachments.go:179
↓ 3 callersMethodwaitApplied
waitApplied waits until a pass APPLIED itemID and returns mrApplied; at the deadline it returns the last result seen, or fails if there was none.
internal/server/materialize_recovery_test.go:146
↓ 3 callersMethodwaitCancelled
(t *testing.T, what string)
internal/server/effort_backfill_lifecycle_test.go:81
↓ 3 callersMethodwaitForContenders
waitForContenders blocks until `n` distinct backends are queued as ungranted waiters on the gate's keys — i.e. until n copy transactions are open and
internal/store/items_cross_workspace_copy_pg_test.go:209
↓ 3 callersFunctionwaitForOpLogRows
waitForOpLogRows polls the item's op-log until it holds exactly want rows or the deadline passes. Fails immediately if the count exceeds want (an unex
internal/server/handlers_collab_test.go:655
↓ 3 callersFunctionwaitIdleStopped
--------------------------------------------------------------------------- idle exit (TASK-2198: a worker with no job for PAD_MATERIALIZE_IDLE_TIMEOU
internal/materialize/supervisor_test.go:977
↓ 3 callersFunctionwaitJoinReturn
(t *testing.T, done chan error, within time.Duration, what string)
internal/collab/bug3771_ws_deadlines_test.go:64
↓ 3 callersFunctionwaitRestoreActive
waitRestoreActive polls until the room reports a restore in progress (beginRestore has set restoreActive). White-box: the test lives in package collab
internal/collab/restore_coord_test.go:16
↓ 3 callersFunctionwalkOrigin
walkOrigin is the outstanding occurrence's instant as the walk reads it: a floating schedule by its WALL in view, whatever the row's state or override
internal/store/schedule_outstanding.go:133
↓ 3 callersFunctionwallFormatter
(zone: string)
web/src/lib/calendar/presentation.ts:7
↓ 3 callersFunctionwallInstant
wallInstant resolves a wall in loc. An all-day wall resolves at the all-day fire hour, because Occurrence.At for an all-day occurrence is local midnig
internal/store/schedules.go:258
↓ 3 callersFunctionwallText
(format: Intl.DateTimeFormat, instant: number)
web/src/lib/calendar/presentation.ts:11
↓ 3 callersMethodwantAll
(ids []string, state, reason string)
internal/server/task3939b2a_push_test.go:47
↓ 3 callersFunctionwantKept
(t *testing.T, pidFile, written string)
internal/buildtools/bug4068_pidfile_test.go:90
↓ 3 callersFunctionwantStale
(t *testing.T, err error)
internal/server/handlers_apps_provision_test.go:372
↓ 3 callersFunctionwarnStaleDerivedText
warnStaleDerivedText prints ONE line to STDERR naming the items whose body-DERIVED text in a listing came from a body the server knows is behind its l
cmd/pad/cmd_item.go:4674
↓ 3 callersFunctionwarnStaleEditSeed
warnStaleEditSeed prints one line to STDERR before `pad item edit` opens the editor on a body the server knows is BEHIND the item's live collaborative
cmd/pad/cmd_item.go:4703
↓ 3 callersMethodwarns
()
internal/materialize/supervisor_test.go:233
↓ 3 callersFunctionwebhookEventsFor
(ds []webhookDelivery, workspace string)
internal/server/handlers_items_copy_test.go:698
↓ 3 callersFunctionwhoName
(who: HistoryWho)
web/src/lib/components/timeline/historyEvents.ts:361
↓ 3 callersFunctionwhoOf
(e: TimelineEntry)
web/src/lib/components/timeline/historyEvents.ts:105
↓ 3 callersFunctionwireSend
A server that stores a send under its op_key, like the real one (V10: a replay returns the stored row).
web/src/lib/stores/chatThread.svelte.test.ts:677
↓ 3 callersMethodwireStreamGauge
wireStreamGauge registers pad_stream_connections_active as a scrape-time collector over the admission gate's total. Called from both SetSSELimits and
internal/server/server.go:1577
↓ 3 callersFunctionwithActivityMetaKey
withActivityMetaKey sets one string key in an activity's JSON metadata, keeping every other key (PLAN-2348 U2). Metadata that does not parse is replac
internal/server/handlers_documents.go:534
↓ 3 callersFunctionwithFastPolling
withFastPolling shrinks the helper's tick interval and timeout to millisecond scale for the duration of a test, then restores them. Required for asser
internal/cli/bootstrap_test.go:228
↓ 3 callersMethodwithLists
withLists returns p with every list a list, never null (BUG-3417): the manifest's optional lists are nil when it omits them, and a nil slice serialize
internal/server/handlers_apps_install.go:86
↓ 3 callersFunctionwithManifestBody
withManifestBody replaces attachments/manifest.json's body with body.
internal/server/handlers_import_bundle_partial_test.go:52
↓ 3 callersFunctionwithUpstreamAtBlank
(fn: () => T)
web/src/lib/collab/materializer/atBlank.ts:55
↓ 3 callersFunctionwithin
TASK-3975: a CLI token minted by approving from a web session gets its own lifetime (30-day slide, 90-day cap from the approval), not the approving se
internal/server/task3975_cli_token_lifetime_test.go:18
↓ 3 callersFunctionworkOccurrence
(row: AgendaWorkEntry, zone: string)
web/src/lib/calendar/presentation.ts:450
↓ 3 callersFunctionworkspaceGroupBuiltin
(id string)
internal/server/handlers_workspace_groups.go:44
↓ 3 callersMethodworkspaceGroupQ
(q Queryer, userID, id string)
internal/store/workspace_groups.go:74
↓ 3 callersMethodwrite
write stores the session entry and indexes it, both under the same TTL, in one atomic step. See writeScript.
internal/server/session_presence_redis.go:533
↓ 3 callersFunctionwriteBusyMessage
writeBusyMessage is writeBusy with a caller-chosen message, for the one path whose truth differs (account deletion after Stripe was cancelled).
internal/server/server.go:2972
↓ 3 callersFunctionwriteCommitmentChanged
(w http.ResponseWriter)
internal/server/handlers_commitments.go:41
↓ 3 callersMethodwriteCopyError
writeCopyError maps the store's typed errors onto the statuses the contract promises. Everything the store classifies as a caller-facing rejection has
internal/server/handlers_items_copy.go:877
↓ 3 callersMethodwriteDrainError
writeDrainError answers a drain that did not finish. The install is left between the phases and repeating the same call resumes it.
internal/server/handlers_apps_lifecycle.go:63
↓ 3 callersFunctionwriteEmailNotVerified
writeEmailNotVerified is the single 403 writer shared by every verified-email enforcement point so the code/message stay identical across perimeters (
internal/server/middleware_verified_email.go:150
↓ 3 callersFunctionwriteFileAtomic
writeFileAtomic writes data to a sibling temp file, fsyncs it, then atomically renames it onto path. Unlike os.WriteFile it never truncates an existin
cmd/pad/cmd_item.go:3150
↓ 3 callersFunctionwriteFileInPlace0600
writeFileInPlace0600 writes data over path in place, following a symlink, as os.WriteFile did. A regular file is made 0600 before it is truncated, so
internal/cli/credentials.go:412
↓ 3 callersFunctionwriteFrame
(w *bufio.Writer, resp WorkerResponse)
internal/materialize/worker.go:151
↓ 3 callersFunctionwriteInvalidItemTitle
(w http.ResponseWriter, err error)
internal/server/handlers_items.go:1409
↓ 3 callersFunctionwriteLastActiveAdmin
writeLastActiveAdmin answers a demotion, disable or account deletion that would leave the instance with no active human admin (BUG-3811). One code for
internal/server/handlers_admin_users.go:974
↓ 3 callersFunctionwriteListFilterKeyError
writeListFilterKeyError answers checkListFilterKeys' error: a refusal is a 400, anything else a store failure.
internal/server/handlers_items.go:4678
↓ 3 callersMethodwriteLocked
writeLocked writes one frame under the connection's write deadline. The caller holds writeMu. Every frame to a collab socket goes through here or writ
internal/collab/room.go:196
↓ 3 callersFunctionwriteMarkdownSeparator
writeMarkdownSeparator writes the header/body separator for n columns.
internal/cli/format_markdown.go:62
↓ 3 callersMethodwriteMessageWithDeadline
writeMessageWithDeadline writes one frame with a bounded write deadline, both the deadline set AND the write under writeMu — gorilla treats SetWriteDe
internal/collab/room.go:206
↓ 3 callersMethodwriteNamedWorkspaceGroup
(w http.ResponseWriter, r *http.Request, user *models.User, g models.WorkspaceGroup, status int)
internal/server/handlers_workspace_groups.go:246
↓ 3 callersFunctionwriteOpenChildrenError
writeOpenChildrenError emits the 409 response with both a human message AND the structured details payload. `parentRef` is the already-formatted paren
internal/server/handlers_items_open_children_guard.go:286
↓ 3 callersMethodwritePatchRefusal
writePatchRefusal answers a bodypatch refusal with its typed 409; false when err is not one.
internal/server/handlers_items_patch.go:263
↓ 3 callersFunctionwritePlanLimitError
writePlanLimitError writes a structured 403 response for plan limit violations. The envelope follows the standard {"error":{"code":...,"message":...,"
internal/server/handlers_cloud.go:1703
↓ 3 callersMethodwriteReminderItemGone
(w http.ResponseWriter, r *http.Request, workspaceID string, item *models.Item, err error)
internal/server/handlers_reminders.go:500
↓ 3 callersFunctionwriteResolveField
(w http.ResponseWriter, field, code, msg string)
internal/server/handlers_schedules.go:403
↓ 3 callersFunctionwriteSSEResetCursorEvent
writeSSEResetCursorEvent writes an event that also CLEARS the client's Last-Event-ID, by carrying an `id:` field with an empty value. Used for sync_r
internal/server/handlers_events.go:1182
↓ 3 callersFunctionwriteSlot
(userId: string, itemId: string, slot: RefusedRawDraftSlot, value: string, now: number)
web/src/lib/items/refusedRawDraft.ts:108
↓ 3 callersFunctionwriteStoreForClientTest
(t *testing.T)
internal/cli/env_token_test.go:48
↓ 3 callersFunctionwriteStreamLimitExceeded
writeStreamLimitExceeded answers a refused streaming connection. One helper for every streaming door (both SSE endpoints and MCP's long-lived streams
internal/server/stream_admission.go:172
↓ 3 callersMethodwriteTokenError
writeTokenError answers a token request with an RFC 6749 error before fosite has built a requester.
internal/server/app_tokens.go:57
↓ 3 callersMethodwriteUserProvidersTx
writeUserProvidersTx stores the account's linked providers.
internal/store/oauth_identities.go:67
↓ 3 callersFunctionwriteWorkspaceSlugContended
writeWorkspaceSlugContended answers 409 when every attempt to mint a workspace lost its slug to a concurrent create (BUG-3307). That is contention, wh
internal/server/handlers_workspaces.go:1102
↓ 3 callersFunctionyesNo
(v bool)
cmd/pad/server_info.go:402
↓ 3 callersFunctionyjsFrameIsSyncStep2
yjsFrameIsSyncStep2 reports whether a sync frame is EXACTLY one well-formed SyncStep2 message (BUG-3523), with the same strict parse as yjsFrameIsEnve
internal/store/yjs_content_bearing.go:122
↓ 3 callersFunctionzeroFilledBucketsIn
zeroFilledBucketsIn is zeroFilledBuckets in a local calendar: days step by calendar day (23 or 25 hours across a DST change), hours by an absolute hou
internal/store/reports_tz.go:72
↓ 3 callersMethodzoneFor
zoneFor is the zone the wall readings resolve in.
internal/schedule/engine.go:40
↓ 3 callersFunctionzoomTo
( state: ZoomState, targetScale: number, anchor: Point, g: Geometry, )
web/src/lib/attachments/zoom.ts:334
↓ 2 callersMethod#absorbRefs
* Merge a response's refs (Q-h, ruling 687eb810). A `visible` or `restricted` * entry is a verdict and REPLACES the held one, so a later page can up
web/src/lib/stores/chatThread.svelte.ts:226
↓ 2 callersMethod#armPresence
()
web/src/lib/stores/chatInbox.svelte.ts:204
↓ 2 callersMethod#disarmPresence
()
web/src/lib/stores/chatInbox.svelte.ts:209
↓ 2 callersMethod#finePointer
()
web/src/lib/chat/inputMode.svelte.ts:27
↓ 2 callersMethod#held
()
web/src/lib/stores/chatThread.svelte.ts:355
↓ 2 callersMethod#post
(n: number, opKey: string, body: string, replyToSeq?: number)
web/src/lib/stores/chatThread.svelte.ts:493
↓ 2 callersMethod#reset
()
web/src/lib/stores/chatThread.svelte.ts:163
↓ 2 callersMethod#schedule
()
web/src/lib/stores/chat.svelte.ts:177
↓ 2 callersFunctionA
()
web/e2e/permission-walk-move.spec.ts:74
↓ 2 callersMethodAckReminderWithActor
(workspaceID, id string, in ResolveInput)
internal/store/reminder_commitment.go:198
↓ 2 callersMethodAddCommitmentLink
AddCommitmentLink previews or creates a link from the URL's parent item.
internal/cli/client_schedule.go:112
↓ 2 callersFunctionAgendaCountDays
AgendaCountDays lists the local days a window touches, each with the instant its count is taken at: the next local midnight, or the window's end. It a
internal/store/agenda_counts.go:25
↓ 2 callersMethodAgendaWorkDetails
AgendaWorkDetails loads schedule facts and gate presence in two queries, regardless of candidate count. Gate evaluation remains per gated item; Agenda
internal/store/agenda_work_batch.go:12
↓ 2 callersFunctionAllowsPayload
AllowsPayload reports whether a canonical event admits the given payload shape. A writer that knows which shape it just marshalled calls this to conf
internal/kernelevents/taxonomy.go:331
↓ 2 callersFunctionAppPrincipalsListed
AppPrincipalsListed reports whether member surfaces show a workspace's bots.
internal/store/app_principal.go:106
↓ 2 callersFunctionApplyItemConventionMetadata
(fieldsJSON string, metadata *ItemConventionMetadata)
internal/models/item.go:1166
↓ 2 callersFunctionAsContentPendingFlushError
AsContentPendingFlushError unwraps err to a *ContentPendingFlushError.
internal/store/content_pending_guard.go:49
↓ 2 callersMethodAttachmentHashesWithRows
AttachmentHashesWithRows reports which of the given content hashes have at least one attachments row — in ANY state. Soft-deleted rows count, includin
internal/store/attachments.go:1309
↓ 2 callersFunctionB
()
web/e2e/permission-walk-move.spec.ts:78
↓ 2 callersMethodBackfillEncryptTOTPSecrets
BackfillEncryptTOTPSecrets encrypts any plaintext TOTP secrets in the database. Idempotent: skips secrets that already have the "enc:" prefix. Called
internal/store/encryption.go:118
↓ 2 callersMethodBefore
Before Returns the last recurrence before the given datetime instance, or time.Time's zero value if no recurrence match. The inc keyword defines what
internal/schedule/internal/rrule/rruleset.go:196
↓ 2 callersFunctionBlankRelationKeys
BlankRelationKeys returns, sorted, the keys of fields that the schema declares as a scalar `relation` and whose value is blank.
internal/items/relation_blanks.go:31
↓ 2 callersFunctionBootstrapTokenPath
BootstrapTokenPath returns the on-disk path for the bootstrap token file.
internal/server/bootstrap.go:49
↓ 2 callersMethodBootstrapWithToken
BootstrapWithToken is like Bootstrap but sends token as the X-Bootstrap-Token header when token is non-empty. This is required for self-host deploymen
internal/cli/client.go:2253
↓ 2 callersFunctionBuildConventionItemCreate
BuildConventionItemCreate is BuildConventionItemFields for the create door (BUG-3163): the same fields blob MINUS the reserved `convention` key, plus
internal/models/item.go:1391
↓ 2 callersFunctionBuildConventionItemFields
(status string, metadata *ItemConventionMetadata)
internal/models/item.go:1199
↓ 2 callersFunctionBuildItemStateWithLinks
BuildItemStateWithLinks is BuildItemState plus the item's links, for a set built WithLinks. links may be empty but not nil: the member is then [].
internal/decision/runner.go:287
↓ 2 callersFunctionBuiltinFieldChanges
BuiltinFieldChanges lists the settings taking the library's text would replace: every key the library writes whose value differs from the item's, and
internal/cli/builtin_format.go:95
↓ 2 callersMethodBuiltinUpdateSupport
BuiltinUpdateSupport is ServerSupportsBuiltinUpdate with the probe's certainty kept apart: definitive false means the capabilities probe failed, which
internal/cli/client.go:1259
↓ 2 callersMethodBurnContextCode
BurnContextCode consumes installID's code without redeeming it (an attempt refused before the redeem, a delegated token's). Another install's code is
internal/store/app_item_actions.go:458
↓ 2 callersMethodByColumn
ByColumn groups the violation count by "table.column".
internal/store/nulscan.go:136
↓ 2 callersMethodByWorkspace
ByWorkspace groups the violation count by workspace id, with "" collecting the tables that have no workspace column.
internal/store/nulscan.go:127
← previousnext →5,901–6,000 of 28,840, ranked by callers