MCPcopy Create free account

hub / github.com/PerpetualSoftware/pad / functions

Functions31,685 in github.com/PerpetualSoftware/pad

↓ 2 callersFunctionmeasure
()
web/src/lib/components/editor/toolbarScrollHint.ts:14
↓ 2 callersFunctionmeasureImporterTarCounts
measureImporterTarCounts replays importBundle's exact header-block and entry counting loop over raw tar bytes so tests can assert exact parity with th
internal/server/task4844_export_entry_limit_test.go:22
↓ 2 callersFunctionmeasureRename
measureRename runs one cascade and returns its allocation profile. The sampler goroutine that tracks peak HeapAlloc is deliberately secondary: it can
internal/store/items_rename_probe_test.go:78
↓ 2 callersFunctionmemberRole
(t *testing.T, s *Store, wsID, userID string)
internal/store/workspace_invitation_accept_test.go:28
↓ 2 callersFunctionmembersFor
(who: string)
web/src/routes/[username]/[workspace]/settings/settingsLoadIdentityOrder.svelte.test.ts:54
↓ 2 callersFunctionmembershipKey
Cache key for `slug` under `userId`. See `answeredMembership`.
web/src/lib/stores/workspace.svelte.ts:116
↓ 2 callersMethodmemoFor
memoFor is the memo the handler put in ctx for this workspace, or a fresh one for a caller (a test) that did not.
internal/server/needs_scorers.go:116
↓ 2 callersFunctionmemoLoad
(m *needsMemo, read string, slot *memoSlot[T], fn func() (T, error))
internal/server/needs_scorers.go:93
↓ 2 callersMethodmentionRecipientsTx
mentionRecipientsTx keeps the mentioned users who can see c's item (TASK-3946, binding rule 645fab20): comment_mentions indexes any resolved human, so
internal/store/notifications.go:327
↓ 2 callersFunctionmenu
(ref = 'EX-30')
web/src/routes/(console)/agenda/agenda.svelte.test.ts:35
↓ 2 callersFunctionmenuButton
(r: Awaited<ReturnType<typeof mount>>)
web/src/lib/components/items/itemDetailPeekDismiss.svelte.test.ts:164
↓ 2 callersFunctionmergeChildAndCheckboxProgress
( childRows: ProgressRow[], checkboxRows: ProgressRow[], )
web/src/lib/collections/progressMerge.ts:49
↓ 2 callersFunctionmergeParameters
mergeParameters combines path-item-level parameters with operation-level ones, deduping on the (name, in) tuple. Operation- level parameters win on co
internal/urlimport/openapi.go:221
↓ 2 callersFunctionmermaidThemeForMode
( root: Element | null | undefined, prefersLight: boolean, )
web/src/lib/components/editor/mermaidTheme.ts:41
↓ 2 callersFunctionmessage
(seq: number, over: Record<string, unknown> = {})
web/src/routes/messages/messagesRoutes.svelte.test.ts:142
↓ 2 callersFunctionmetaInt
(v interface{})
internal/store/activity_seq_chain.go:97
↓ 2 callersFunctionmetricsMethodLabel
metricsMethodLabel bounds the method label (BUG-2817). The middleware runs ahead of authentication and Go's server accepts any token as a method, so r
internal/server/middleware_metrics.go:47
↓ 2 callersFunctionmiddle
(b: { x: number; y: number; width: number; height: number })
web/e2e/bug-3159-roles-children-touch-drag.spec.ts:82
↓ 2 callersMethodmigrate
()
internal/store/store.go:715
↓ 2 callersMethodmigrateCopyFields
migrateCopyFields runs the DR-12 field pipeline: migrate the source fields into the destination schema, merge the caller's overrides, then validate.
internal/store/items_cross_workspace_copy.go:1253
↓ 2 callersMethodmigrateStartItem
migrateStartItem reports already=true for an item an earlier, unfinished run of this migration marked. The marker is written only after a run with no
internal/store/start_slot_migration.go:162
↓ 2 callersFunctionmilestoneRows
milestoneRows counts the rows a cascading schedule delete would take.
internal/store/reminder_commitment_milestone_test.go:43
↓ 2 callersFunctionmimeToFormat
(mime: string)
web/src/lib/components/editor/attachment-metadata.ts:368
↓ 2 callersFunctionmintAccount
(fixture: SuiteFixture, tag: string)
web/e2e/workspace-tabs.spec.ts:30
↓ 2 callersFunctionmirrorOf
TASK-2257: the reserved convention copy follows the ordinary keys a write changed.
internal/store/items_convention_mirror_test.go:12
↓ 2 callersFunctionmissedWalk
missedWalk compiles the walk missedOccurrences runs and its uncapped window [from, to): from just after the outstanding occurrence (or the anchor floo
internal/store/schedule_outstanding.go:104
↓ 2 callersFunctionmissingFor
(id: string)
web/src/lib/components/timeline/ItemTimeline.lifecycle.svelte.test.ts:209
↓ 2 callersFunctionmissingLibraryOptions
missingLibraryOptions returns, per select field, the values fieldMap carries that the library vocabulary allows and the field's options lack.
internal/server/library_option_widen.go:149
↓ 2 callersFunctionmkdirOwned
mkdirOwned builds the directory under a staging name, takes the flock on its owner.lock, and only then renames it to prefix<pid>-<random>, so a sweep
internal/testtmp/lock_unix.go:21
↓ 2 callersFunctionmockGeometry
Mock the geometry the viewer reads, so the cursor anchor is observable.
web/src/lib/components/common/Lightbox.svelte.test.ts:1829
↓ 2 callersMethodmodelClientToFosite
modelClientToFosite turns a stored client row into the fosite.DefaultClient fosite expects. Public clients only — Secret stays empty; PKCE is the only
internal/oauth/storage.go:625
↓ 2 callersFunctionmodels_ItemUpdateContent
Small constructors, so the corpus loop reads as the assertion rather than as struct plumbing.
internal/store/nulguard_test.go:169
↓ 2 callersFunctionmodels_ItemUpdateFields
(v string)
internal/store/nulguard_test.go:170
↓ 2 callersFunctionmonitorClient
monitorClient builds a Client for the monitor loop WITHOUT any of getClient()'s side effects that are fatal (or interactive) for an unattended backgro
cmd/pad/cmd_watch.go:421
↓ 2 callersFunctionmore
()
web/src/lib/components/attachments/AttachmentTablePreview.svelte.test.ts:28
↓ 2 callersFunctionmore
()
web/src/lib/components/chat/MessageBubble.svelte.test.ts:117
↓ 2 callersFunctionmount
()
web/src/lib/components/auth/EditTokenAccessDialog.svelte.test.ts:17
↓ 2 callersFunctionmount
(props: Record<string, unknown> = {}, r: Row = row())
web/src/lib/components/needs/NeedsRow.svelte.test.ts:15
↓ 2 callersFunctionmountAndOpenConfirm
()
web/src/lib/components/items/attachmentDeleteIdentityFence.svelte.test.ts:154
↓ 2 callersFunctionmountComposer
Mount a composer wired to `thread` for conversation `n`, as ChatThreadView does.
web/src/lib/stores/chatThread.lateRefusal.svelte.test.ts:91
↓ 2 callersFunctionmountItem
(over: Props = {})
web/src/lib/components/items/itemDetailTouchEdit.svelte.test.ts:243
↓ 2 callersFunctionmountTab
()
web/src/lib/components/settings/StorageTab.svelte.test.ts:191
↓ 2 callersFunctionmountTab
(doc = new Y.Doc())
web/src/lib/collab/materializer/materializerParity.svelte.test.ts:163
↓ 2 callersFunctionmovable
(t: string, allowB = false)
web/e2e/permission-walk-move.spec.ts:81
↓ 2 callersFunctionmoveCmd
--- move ---
cmd/pad/cmd_item.go:2062
↓ 2 callersFunctionmoveDrag
(clientY: number)
web/src/lib/components/editor/block-drag-handle.ts:745
↓ 2 callersMethodmoveInputsUnchanged
moveInputsUnchanged is a move's under-lock precheck. A move builds its payload from reads taken before it takes its lock (BUG-3665). Every input to it
internal/server/handlers_items.go:4945
↓ 2 callersFunctionmoveMonth
(day: string, amount: number)
web/src/lib/calendar/monthGrid.ts:47
↓ 2 callersFunctionmoveToken
(list: readonly string[], from: number, to: number)
web/src/lib/components/home/agentLane.ts:54
↓ 2 callersMethodmovedTargetQ
movedTargetQ reads a moved occurrence's target, the role=target override the move wrote; nil when the occurrence has none. next_override_at holds it t
internal/store/schedule_snooze.go:98
↓ 2 callersFunctionmsg
(seq: number, tag: string, over: Partial<ChatMessage> = {})
web/src/lib/stores/chatThread.property.svelte.test.ts:107
↓ 2 callersFunctionmsg
(when: Date, over: Partial<ChatMessage> = {})
web/src/lib/chat/grouping.test.ts:12
↓ 2 callersFunctionmultiRelationSchema
`multi_relation` shape validation (PLAN-2857 U4). This package is DB-free, so these tests are about SHAPE only — whether an element names a live item
internal/items/validate_multi_relation_test.go:19
↓ 2 callersFunctionmustCompile
(t *testing.T, start, tz, rule string, rdates []string)
internal/store/schedule_fire_test.go:768
↓ 2 callersFunctionmustCreate
mustCreate is a small helper for the deadlock test's seeding — keeps the test body focused on the race itself rather than boilerplate response parsing
internal/server/handlers_items_open_children_guard_test.go:1275
↓ 2 callersFunctionmustDecode
(s string)
internal/store/bug3124_content_bearing_test.go:23
↓ 2 callersFunctionmustETag
(t *testing.T, a *Store, spec store.FenceSpec, item *models.Item)
internal/appstore/items_test.go:397
↓ 2 callersMethodmustInsert
(t *testing.T, id, body string, parent any)
internal/store/task3391_comments_rebuild_test.go:40
↓ 2 callersFunctionmustJSON
(v []string)
internal/store/schedules.go:438
↓ 2 callersFunctionmustJSON
(t *testing.T, v any)
cmd/pad/mcp_wire_golden_test.go:153
↓ 2 callersFunctionmustJSONRequest
(t *testing.T, method, path string, body any)
internal/mcp/dispatch_http_test.go:954
↓ 2 callersFunctionmustRead
(path string, v any)
scripts/decision-eval/conventions/main.go:365
↓ 2 callersFunctionmustVersions
(t *testing.T, f *recoveryFixture, itemID string)
internal/server/materialize_recovery_test.go:890
↓ 2 callersMethodnaivePin
naivePin is the per-item pin a cascade must NOT use: each item through pinScheduleTx (item, workspace, schedule), the root first.
internal/store/commitment_links_pg_test.go:106
↓ 2 callersFunctionnamedWorkspaceGroupView
(g models.WorkspaceGroup, admitted []models.Workspace)
internal/server/handlers_workspace_groups.go:183
↓ 2 callersFunctionnames
(slug: string)
web/src/lib/collections/parentFilter.test.ts:4
↓ 2 callersFunctionnav
(path: string | null, shallow = false)
web/src/lib/components/chat/ChatHost.svelte.test.ts:559
↓ 2 callersFunctionnavGuardState
(page: Page)
web/e2e/attachment-viewer-owners.spec.ts:174
↓ 2 callersFunctionnavigate
A same-route navigation, as SvelteKit reports it.
web/src/lib/components/home/HomePaneHost.svelte.test.ts:91
↓ 2 callersFunctionneedsCommentSecond
needsCommentSecond normalises a stored comments.created_at to the UTC whole second in time.RFC3339 (truncated, never rounded), so the marker never dep
internal/store/needs_snooze.go:44
↓ 2 callersFunctionneedsDismissHolds
needsDismissHolds compares a dismissal's marker with the item's current state. Both seconds are normalised fixed-width UTC (needsCommentSecond, clampN
internal/store/needs_snooze.go:303
↓ 2 callersMethodneedsItemStates
needsItemStates is needsItemState for many items: the newest other comment's normalised second (needsCommentSecond), the other comments at the second
internal/store/needs_read.go:372
↓ 2 callersFunctionneedsItemURL
Every hop of the needs actions goes through buildAuthedRequest (directly or via executeRequest), so the scope checks apply to each one. The not-mine P
internal/mcp/dispatch_http_needs.go:20
↓ 2 callersFunctionneedsResults
needsResults gives the remote result the CLI's JSON shape: {results: [...]}, one entry per ref, with given_to when the item was reassigned.
internal/mcp/dispatch_http_needs.go:239
↓ 2 callersFunctionneedsTargets
needsTargets reads the workspace and the refs, which every needs write needs. ref is a string or, as stdio accepts (cmdhelp marks it repeatable), an a
internal/mcp/dispatch_http_needs.go:27
↓ 2 callersFunctionneedsUser
(t *testing.T, s *Store, email string)
internal/store/needs_snooze_test.go:36
↓ 2 callersFunctionneedsWaitingSpellings
needsWaitingSpellings returns the waiting values plus the done field's own spelling of each: awaits_human_options match their options case-insensitive
internal/server/handlers_me_needs.go:293
↓ 2 callersFunctionnestedDocumentDecodesNUL
nestedDocumentDecodesNUL walks a JSON document carried as a string — an item's `fields` blob, a collection's `schema` — for a string containing a NUL.
internal/server/middleware_request_text.go:823
↓ 2 callersFunctionnever
()
web/src/routes/(console)/needs/needsPage.svelte.test.ts:486
↓ 2 callersMethodneverFires
neverFires says an HOURLY or MINUTELY rule, stepped from start, provably never lands on its BYHOUR and BYMINUTE values (TASK-4100). The library steps
internal/schedule/rule.go:344
↓ 2 callersFunctionnewAccessKicker
()
internal/server/access_kick.go:50
↓ 2 callersFunctionnewAgentClaimFixtureOn
(t *testing.T, s *Server)
internal/server/handlers_agent_claim_test.go:32
↓ 2 callersFunctionnewAgentClaimSecrets
newAgentClaimSecrets mints the claim token (32 random bytes, base64url) and the claim code (12 characters from the device-code alphabet, shown XXXX-XX
internal/server/handlers_agent_signup.go:250
↓ 2 callersFunctionnewAliasFixture
newAliasFixture builds a workspace whose collections include `specs` — a name the client-side alias map has never heard of — and returns a dispatcher
internal/mcp/dispatch_http_collection_alias_test.go:30
↓ 2 callersFunctionnewAttentionFixtureWith
(t *testing.T, reg *Registry)
internal/decision/attention_test.go:172
↓ 2 callersFunctionnewBUG2772World
(t *testing.T)
internal/mcp/bug2772_remote_agent_identity_test.go:48
↓ 2 callersFunctionnewBUG3244Fixture
(t *testing.T)
internal/server/bug3244_schema_rebuild_set_aside_test.go:35
↓ 2 callersFunctionnewCappedResponseWriter
newCappedResponseWriter wires the writer's body buffer into a cappedWriter bounded at limit. Must be used (not a bare struct literal) so `capped` is n
internal/mcp/response_cap.go:191
↓ 2 callersFunctionnewChatConversation
(c models.Conversation, agentKey string)
internal/server/handlers_chat_dto.go:74
↓ 2 callersFunctionnewChatDetail
(c models.ConversationSummary)
internal/server/handlers_chat_dto.go:77
↓ 2 callersFunctionnewChatDisarmCmd
()
cmd/pad/cmd_chat_direction.go:38
↓ 2 callersFunctionnewChatMsg
(actor models.ConversationActor, m models.ConversationMessage)
internal/server/handlers_chat_dto.go:87
↓ 2 callersFunctionnewChiCtx
(params map[string]string)
internal/server/task3401_app_api_test.go:672
↓ 2 callersFunctionnewClientFromURL
(baseURL string)
internal/cli/client.go:97
↓ 2 callersFunctionnewClientWriteMarks
()
internal/server/client_write_marks.go:68
↓ 2 callersFunctionnewCommentFixture
(t *testing.T)
internal/store/task3391_comments_rebuild_test.go:23
↓ 2 callersFunctionnewCommentFixture
(t *testing.T, driver store.DriverType)
internal/server/handlers_comments_atomic_test.go:44
↓ 2 callersFunctionnewCopyRelationFixtureNonStringDefault
newCopyRelationFixtureNonStringDefault gives the DESTINATION's relation field a numeric default, which no valid schema would declare and which nothing
internal/server/handlers_items_copy_relation_test.go:733
↓ 2 callersMethodnewCopyRequest
newCopyRequest builds the POST for either copy endpoint. mutating is DR-13 mechanism 2. net/http will REPLAY a request whose connection died before a
internal/cli/client_items_copy.go:538
↓ 2 callersFunctionnewFetcher
newFetcher builds the client with the private entries use selects.
internal/appfetch/appfetch.go:77
← previousnext →8,501–8,600 of 31,685, ranked by callers