MCPcopy Create free account

hub / github.com/PerpetualSoftware/pad / functions

Functions28,840 in github.com/PerpetualSoftware/pad

↓ 3 callersFunctionhistoryArgs
(t *testing.T, input map[string]any)
internal/mcp/dispatch_http_history_bounds_test.go:26
↓ 3 callersMethodholdDrained
holdDrained plays a tick that claims every job as it appears: it marks each decision_jobs row claimed under a far lease (rows stay, so tests still cou
internal/decision/effort_backfill_test.go:83
↓ 3 callersFunctionholdItemRow
holdItemRow locks the authored item's row in another transaction, which the deletion's "detach authored items" statement then waits on, AFTER its earl
internal/store/task4278_ctx_test.go:136
↓ 3 callersMethodholdMove
holdMove starts a move of c.src that pauses just before its commit, after the schedule step, and returns a release func and the move's result channel.
internal/store/schedule_copy_test.go:787
↓ 3 callersFunctionhostMatchesURL
hostMatchesURL compares a request Host with the host and port of a configured URL.
internal/server/middleware_mcp_host.go:163
↓ 3 callersFunctionhubLinks
hubLinks lays hubs*kids+hubs-1 links out as ONE connected component that stays inside the 50-dependent and 16-hop limits: each hub's target feeds kids
internal/store/schedule_link_hostile_test.go:47
↓ 3 callersMethodhydrateCommentsAppAttribution
(comments []models.Comment)
internal/server/app_attribution.go:45
↓ 3 callersFunctionidentifyWebBuild
identifyWebBuild digests every regular file in fsys: sha256 over, in WalkDir's lexical order, each file's path, a NUL, its content's sha256, and a new
internal/server/web_build_identity.go:43
↓ 3 callersFunctionidentityResponse
(t *testing.T, rr *httptest.ResponseRecorder)
internal/server/handlers_server_identity_test.go:33
↓ 3 callersFunctionimportRefShapedSlug
importRefShapedSlug avoids slugs that overlap the ref grammar (BUG-4119, TASK-4375). It leaves non-ref-shaped slugs unchanged; otherwise it lowercases
internal/store/export.go:138
↓ 3 callersFunctionimportanceIn
(loc *time.Location, r *needs.Row, it store.NeedsScoringItem, blocked int, decs []models.ItemDecision, qh map[
internal/server/needs_scorers.go:311
↓ 3 callersFunctioninModule
(path string)
internal/appstore/boundary_check_test.go:250
↓ 3 callersFunctioninUnit
(f float64)
internal/decision/typesafe.go:424
↓ 3 callersMethodinflight
(t *testing.T)
internal/store/task3408_delivery_test.go:61
↓ 3 callersMethodinline
* Walks a helper's body HERE, with the caller's state. The helper sees ITS * lexical scopes, not the caller's: a caller's local that shares a name w
web/src/test/identityFenceAst.ts:1056
↓ 3 callersFunctioninput
()
web/src/lib/components/items/ItemPicker.svelte.test.ts:105
↓ 3 callersMethodinsertBuiltinOriginTx
insertBuiltinOriginTx records the built-in an item was made from (TASK-3462), inside the transaction that created the item.
internal/store/builtin_origin.go:34
↓ 3 callersMethodinsertMissedTx
insertMissedTx records one passed-over instance; ON CONFLICT DO NOTHING covers both unique indexes, so a row already there is left alone. It reports w
internal/store/schedule_resolve.go:1155
↓ 3 callersFunctioninsertRawWebhook
insertRawWebhook writes a webhook row directly, bypassing CreateWebhook's encryption, to simulate a legacy pre-encryption row.
internal/store/webhooks_test.go:174
↓ 3 callersFunctioninsertTestInstall
insertTestInstall writes an app_installs row directly. No production writer exists before SPEC-6 U8.
internal/store/fenced_tx_test.go:21
↓ 3 callersFunctioninsertVerificationToken
insertVerificationToken writes a token row directly with a caller-chosen expires_at / used_at so tests can craft expired and already-used rows.
internal/store/email_verification_test.go:32
↓ 3 callersMethodinsertYjsFrameQ
(q yjsExecQueryer, itemID string, data []byte, schemaVersion, now, hash string, bearing bool)
internal/store/yjs_updates.go:213
↓ 3 callersFunctioninstallCodeHash
(code string)
internal/store/app_provision.go:417
↓ 3 callersFunctioninstallDecisionJobTrigger
installDecisionJobTrigger adds a BEFORE UPDATE trigger on decision_jobs that raises. With a non-empty prefix it raises only when NEW.last_error starts
internal/store/decisions_failopen_test.go:31
↓ 3 callersMethodinvalidateItemReopenDependencyTx
(tx *sql.Tx, itemIDs ...string)
internal/store/schedule_reopen.go:654
↓ 3 callersMethodinvalidateReopenDependencyTx
Relationship ineligibility is sticky even when the relationship is removed.
internal/store/schedule_reopen.go:645
↓ 3 callersFunctioninvitationIDs
(invs []store.MyInvitation)
internal/server/my_invitations_test.go:44
↓ 3 callersFunctionioPipe
()
cmd/pad/cmd_auth_2fa_test.go:448
↓ 3 callersFunctionis421
(rr *httptest.ResponseRecorder)
cmd/pad/mcp_capability_test.go:509
↓ 3 callersFunctionisApi
(r: Request)
web/e2e/task-2228-pane-switch-requests.spec.ts:41
↓ 3 callersFunctionisAttachmentSurfaceEventForHost
( event: AttachmentSurfaceOpenEvent | null | undefined, host: { itemId: string | null | undefined; hostToken
web/src/lib/attachments/events.ts:402
↓ 3 callersFunctionisBodyStale
(row: { content_state?: string | null } | null | undefined)
web/src/lib/items/staleBody.ts:24
↓ 3 callersFunctionisBodyTooLarge
(t *testing.T, rr *httptest.ResponseRecorder, limit int64)
internal/server/bug3534_mcp_body_limit_test.go:68
↓ 3 callersFunctionisCollectable
(row: ItemCopyPreflightNeedsValue)
web/src/lib/items/copyNeedsValue.ts:44
↓ 3 callersFunctionisCollectionNotFound
isCollectionNotFound reports whether err is the server's specific "collection not found" response for an item create / list / move request. It is deli
internal/cli/collection_alias.go:140
↓ 3 callersFunctionisEditorOwnedImage
(el: Element)
web/src/lib/attachments/editorOwnedImage.ts:42
↓ 3 callersFunctionisFTSShadowTable
isFTSShadowTable reports an FTS5 table or one of its shadow tables. They are reached only behind a base-table write that has already aborted.
internal/store/migrated.go:336
↓ 3 callersFunctionisGateRefusal
isGateRefusal reports whether rr is the DR-5 gate's answer: exactly the JSON 404 requireMCPAvailable / requireOAuthAvailable write. A handler's own 40
cmd/pad/mcp_capability_test.go:183
↓ 3 callersFunctionisIdentityRead
(src: AstSource, n: Node)
web/src/test/identityFenceAst.ts:378
↓ 3 callersFunctionisJSONEncodedFieldKey
isJSONEncodedFieldKey matches a wire key the way the DECODER that consumes it does: case-insensitively. encoding/json matches an incoming key to a st
internal/server/middleware_request_text.go:790
↓ 3 callersFunctionisJSONNull
(raw json.RawMessage)
internal/server/handlers_schedules.go:264
↓ 3 callersFunctionisListItemLine
isListItemLine reports a bullet ("- ", "* ", "• ") or a numbered item ("1. ", "2) "), which keeps its own line so a list stays a list.
internal/mcp/catalog.go:428
↓ 3 callersFunctionisModalViewerScrollInput
(e: Event)
web/src/lib/scroll/restore.svelte.ts:71
↓ 3 callersFunctionisObject
(x: unknown)
web/src/mcp-app/boardModel.ts:94
↓ 3 callersFunctionisObject
(x: unknown)
web/src/mcp-app/model.ts:19
↓ 3 callersFunctionisOverdue
(entry: { overdue?: boolean; snoozed_until?: string }, now = new Date(Date.now()))
web/src/lib/calendar/presentation.ts:215
↓ 3 callersFunctionisPatchError
(content string)
internal/store/items.go:7353
↓ 3 callersFunctionisPrivateIP
isPrivateIP reports whether a webhook may not be delivered to ip. The policy is the one shared with URL import (BUG-3358): see netpolicy.Blocked.
internal/webhooks/validate.go:95
↓ 3 callersFunctionisPublicGroupable
(collection: PublicCollection, key: string)
web/src/lib/components/share/shareView.ts:324
↓ 3 callersFunctionisRequestTooLargeError
(err: unknown)
web/src/lib/chat/compose.ts:39
↓ 3 callersFunctionisReservedCollectionSlug
(slug string)
internal/store/collections.go:1486
↓ 3 callersFunctionisSnoozed
(entry: { snoozed_until?: string }, now = new Date(Date.now()))
web/src/lib/calendar/presentation.ts:205
↓ 3 callersFunctionisUngrouped
(value: unknown)
web/src/lib/collections/boardColumns.ts:63
↓ 3 callersFunctionisWatchHeartbeat
isWatchHeartbeat reports whether a payload is a liveness frame. VALIDATED BY SHAPE, NOT BY PREFIX ALONE. Accepting any "hb|…" would create a silently
internal/watchevents/heartbeat.go:97
↓ 3 callersFunctionitem
(over: Record<string, unknown> = {})
web/src/mcp-app/ItemCard.svelte.test.ts:16
↓ 3 callersFunctionitemCmd
()
cmd/pad/groups.go:109
↓ 3 callersFunctionitemCopyPath
itemCopyPath builds the copy endpoint's path with each dynamic segment escaped exactly once. Most of this client concatenates slugs into paths bare,
internal/cli/client_items_copy.go:370
↓ 3 callersFunctionitemCopyReason
(table map[string]string, code string)
cmd/pad/cmd_item.go:2461
↓ 3 callersFunctionitemCopyRef
itemCopyRef prefers the issue ID and falls back to the slug, which is always present. `ref` is omitempty on the wire.
cmd/pad/cmd_item.go:2948
↓ 3 callersFunctionitemJSONKeys
(t *testing.T, srv *Server, wsSlug, itemSlug string)
internal/server/handlers_decisions_test.go:73
↓ 3 callersFunctionitemNumber
itemNumber derefs models.Item.ItemNumber (*int), failing the test when the column came back NULL — which would itself be a parity break.
internal/store/items_create_tx_test.go:63
↓ 3 callersMethoditemOf
(scheduleID string)
internal/store/commitment_links.go:195
↓ 3 callersFunctionitemOpenTestHandler
(ref string, item models.Item)
cmd/pad/item_open_test.go:35
↓ 3 callersFunctionitemOverdue
itemOverdue reports whether an item has a deadline in the past, and which field carried it. Reports at most ONE field per item — the first in overdueD
internal/server/overdue.go:52
↓ 3 callersFunctionitemPatchCmd
itemPatchCmd is `pad item patch` (PLAN-3578): content-anchored edits to an item's body, answered with the diff of exactly what changed.
cmd/pad/cmd_item_patch.go:18
↓ 3 callersMethoditemSeq
(t *testing.T)
internal/server/handlers_item_versions_bug3031_test.go:59
↓ 3 callersFunctionitemStatusPriority
itemStatusPriority pulls the "status" and "priority" string values out of an item's fields JSON blob. Missing keys, non-string values, or malformed JS
internal/cli/format.go:220
↓ 3 callersFunctionitemUrl
(fixture: SuiteFixture, ref: string)
web/e2e/bug-3230-raw-save-pending-edits.spec.ts:29
↓ 3 callersMethoditemVisibleForIncludingTrashed
itemVisibleForIncludingTrashed is itemVisibleFor with one difference: a soft-deleted item is judged by the same workspace and collection/grant rule as
internal/server/relation_hydration.go:121
↓ 3 callersFunctionjoinCollabWorkspace
The collab WebSocket is the third member of this class and the one with WRITE access: a credential destroyed after upgrade leaves a connection whose p
internal/server/handlers_stream_session_liveness_test.go:320
↓ 3 callersFunctionjsonEqualString
jsonEqualString compares two JSON strings tolerantly of insignificant whitespace differences that emerge from JSONB ↔ TEXT round-trips.
internal/store/items_views_jsonb_test.go:248
↓ 3 callersMethodjsonType
---------- SQLite ----------
internal/store/dialect_fieldvalue.go:77
↓ 3 callersFunctionjsonUnmarshal
(s string, v any)
internal/store/plan3535_tracks_work_test.go:205
↓ 3 callersFunctionkeptWorkerID
keptWorkerID is the worker id in the record at path when that record belongs to the same process as owner (pid AND start token), else "". The start to
internal/cli/session_worker.go:82
↓ 3 callersFunctionkey
(ref: string, workspace = 'w')
web/src/lib/stores/chatThread.svelte.test.ts:1633
↓ 3 callersFunctionkeyOf
(call: number)
web/src/lib/components/items/PushToAgentDialog.svelte.test.ts:827
↓ 3 callersFunctionkeys
keys is a tiny helper for deterministic-ish error messages — fmt.Sprintf("%v", map) order isn't stable across Go versions and hides the actual content
internal/server/handlers_export_bundle_test.go:317
↓ 3 callersFunctionkeys
()
web/src/lib/chat/chatRecords.ts:42
↓ 3 callersFunctionlaSource
TASK-4104 D3 r3: the move catch-up and the exhausted verdict read the SOURCE schedule in the source recipient's zone. laSource assigns the source item
internal/store/schedule_copy_r3_test.go:18
↓ 3 callersFunctionlabelValues
labelValues returns the distinct values of one label across a metric family.
internal/server/bug2817_metrics_label_bound_test.go:17
↓ 3 callersFunctionlabelsMatch
(pairs []*dto.LabelPair, want map[string]string)
internal/metrics/watchevents_observer_test.go:115
↓ 3 callersMethodlapse
(ids ...string)
internal/server/task3939b_push_dispatch_test.go:266
↓ 3 callersFunctionlapseActivities
(t *testing.T, srv *Server, itemID string)
internal/server/reminder_tick_deadline_test.go:82
↓ 3 callersMethodlapseOccurrenceTx
lapseOccurrenceTx closes a lapsing promise immediately after its miss is recorded. All callers hold the schedule pin and commit both writes together.
internal/store/schedule_deadline_eval.go:543
↓ 3 callersFunctionlapseTickFixture
lapseTickFixture is a one-off native deadline that lapses on the next tick, with its event subscription already open.
internal/server/reminder_tick_deadline_test.go:49
↓ 3 callersFunctionleaseOurs
leaseOurs is THE predicate for "this live lease is the caller's", shared by claim, release and ListForeignItemLeaseIDs so they cannot drift. Every col
internal/store/item_lease.go:288
↓ 3 callersFunctionleave
Release a mobile overlay that stopped being active (unmount / breakpoint / close).
web/src/lib/stores/paneOverlay.svelte.ts:43
↓ 3 callersFunctionlegacyTokenRouteAllowed
legacyTokenRouteAllowed reports whether a user-less legacy workspace token may use r's route. Workspace-scoped routes are allowed, because RequireWork
internal/server/middleware_auth.go:470
↓ 3 callersFunctionlinkActor
(o models.LinkWriteOptions)
internal/store/commitment_links.go:646
↓ 3 callersFunctionlinkChild
linkChild wires child -> parent via a `parent` link (the shape GetChildItems / GetChildItemsForParents walk).
internal/store/dashboard_batch_test.go:11
↓ 3 callersFunctionlinkDTO
(l linkRow, parentItem, childItem string)
internal/store/commitment_links.go:696
↓ 3 callersMethodlinkEndsOf
linkEndsOf reads a link by id (unlocked) so a writer can name its root item.
internal/store/commitment_links.go:715
↓ 3 callersFunctionlinkNoticeActor
linkNoticeActor is who a committed move's notice leaves out: the acting person, and nobody when an agent moved the date. actor is the journal's actor,
internal/store/commitment_links.go:656
↓ 3 callersFunctionlinkRowsFor
(t *testing.T, s *Store, itemID string)
internal/store/relation_links_multi_test.go:26
↓ 3 callersFunctionlinkVertexLess
(a, b linkVertex)
internal/schedule/links.go:583
↓ 3 callersMethodlinkWritePlanTx
linkWritePlanTx plans the move a link write makes: with l in the component in place of any stored version of itself, the child's date, and every date
internal/store/commitment_links.go:672
↓ 3 callersFunctionlinkYearInRange
linkYearInRange reports whether t's UTC year is a year the package supports (minYear..maxYear). Civil results are checked in their own zone at the cal
internal/schedule/links.go:80
↓ 3 callersMethodlistAgendaSchedules
(workspaceID string, scope PendingReminderScope, audiences []string, from, to time.Time, limit int, includeTer
internal/store/schedule_agenda.go:66
↓ 3 callersFunctionlistHas
(list WorkspaceTabList, wsID string)
internal/store/workspace_tabs_revision_test.go:22
↓ 3 callersMethodlistInstalls
TASK-3413 (SPEC-6 U9a): GET /workspaces/{ws}/apps, the owner's Apps list.
internal/server/task3413a_app_list_test.go:10
← previousnext →5,201–5,300 of 28,840, ranked by callers