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
↓ 1 callers
Function
makeEditor
The item-body configuration (Editor.svelte): transforms enabled.
web/src/lib/components/editor/attachmentImageKeyboard.svelte.test.ts:121
↓ 1 callers
Function
makeEditor
(element: HTMLElement)
web/src/lib/components/editor/blockDragHandleFreeze.svelte.test.ts:26
↓ 1 callers
Function
makeEditor
(element: HTMLElement)
web/src/lib/components/editor/attachmentImageViewerHost.svelte.test.ts:58
↓ 1 callers
Function
makeFlusher
(opts: { resolveSave: boolean })
web/src/lib/collab/collabFlushTeardownDedupe.test.ts:30
↓ 1 callers
Function
makeFlusher
(overrides: Partial<CollabFlusherConfig> = {})
web/src/lib/collab/collabFlush.test.ts:21
↓ 1 callers
Function
makeFlusher
(overrides: Partial<CollabFlusherConfig> = {})
web/src/lib/collab/collabFlushStamp.test.ts:16
↓ 1 callers
Function
makeFlusher
(overrides: Partial<CollabFlusherConfig> = {})
web/src/lib/collab/collabFlushCanonical.test.ts:20
↓ 1 callers
Function
makeIntegrationJPEG
(t *testing.T, w, h int)
internal/server/handlers_attachments_thumbnails_test.go:64
↓ 1 callers
Function
makeLegacyDatesOnly
(t *testing.T, srv *Server, wsID string)
internal/server/task3462_u4_legacy_adoption_test.go:120
↓ 1 callers
Function
makeList
(opts: { rows: number; rowHeight: number; bandTop: number; height: number; keyOf?: (i: number) => string })
web/src/lib/collections/listScrollHandoff.svelte.test.ts:7
↓ 1 callers
Function
makeProvider
()
web/src/lib/collab/wsProviderAwareness.svelte.test.ts:36
↓ 1 callers
Function
makeProvider
()
web/src/lib/collab/wsProviderUnsentEdits.svelte.test.ts:35
↓ 1 callers
Function
makeProvider
(onOpLogCursor: (id: number) => void)
web/src/lib/collab/wsProviderCursor.svelte.test.ts:31
↓ 1 callers
Function
makeProvider
(random: () => number)
web/src/lib/collab/wsProviderReconnectJitter.svelte.test.ts:31
↓ 1 callers
Function
makeRows
(n: number, prefix = 'COLO')
web/src/lib/components/items/ItemPicker.svelte.test.ts:88
↓ 1 callers
Function
makeStorage
()
web/src/test/setup-jsdom.ts:59
↓ 1 callers
Function
makeStr
(n int, c byte)
internal/server/password_strength_test.go:183
↓ 1 callers
Function
malformed
()
web/src/lib/attachments/csv.ts:62
↓ 1 callers
Function
malformedRecord
malformedRecord describes a file this code cannot read as a registration: liveness unknown (nothing to probe), timestamp from the file's mtime so an a
internal/cli/session_registry.go:443
↓ 1 callers
Function
manage
()
web/src/routes/(console)/agenda/agenda.svelte.test.ts:1027
↓ 1 callers
Function
manageAccess
(name: 'Alice' | 'Bob')
web/src/routes/[username]/[workspace]/settings/bug3698AccessPanelRace.svelte.test.ts:88
↓ 1 callers
Method
managedRows
(t *testing.T, wsID, scheduleID string)
internal/store/schedule_carry_test.go:65
↓ 1 callers
Function
mapItemComment
mapItemComment dispatches `pad item comment <ref> <message>`. POST /api/v1/workspaces/{ws}/items/{ref}/comments with body shape {body: <message>, par
internal/mcp/dispatch_http_routes.go:2248
↓ 1 callers
Function
mapModelDecodesNUL
mapModelDecodesNUL is the gate's walk as it stood before BUG-2812: a walk of the body decoded into map[string]any. It is kept here, and only here, as
internal/server/decode_json_nul_test.go:1463
↓ 1 callers
Function
mapScheduleLink
(edit bool)
internal/mcp/dispatch_http_schedule.go:273
↓ 1 callers
Function
mark
()
web/src/lib/components/calendar/CalendarEntry.svelte.test.ts:8
↓ 1 callers
Function
markAnchor
(page: Page)
web/e2e/chat-shell.spec.ts:79
↓ 1 callers
Function
markChangesRows
* The pane also installs this item from the /changes delta the sync service * seeds at page load (BUG-3201), which is not under /items/. Unmarked, th
web/e2e/bug-3050-stale-body-renders.spec.ts:80
↓ 1 callers
Method
markChildrenNoLongerNeededTx
The cancel policy and "No longer needed" (TASK-4353, DOC-4348 case 7). A link's cancel_policy says what a cancelled parent occurrence does to the chi
internal/store/commitment_cancel.go:54
↓ 1 callers
Function
markDocument
Marks the document; a reload drops the mark.
web/e2e/workspace-access-live.spec.ts:135
↓ 1 callers
Method
markIfComplete
()
internal/jsonscan/jsonscan.go:140
↓ 1 callers
Function
markItemListResourceTruncation
markItemListResourceTruncation trims an item list resource fetched with one row past limit back to limit and, when the extra row came back, adds a not
internal/mcp/resources.go:480
↓ 1 callers
Function
markItemReads
Mark the item GET for `id`, whatever URL the pane reads it by (ref, slug, query).
web/e2e/bug-3050-stale-body-renders.spec.ts:62
↓ 1 callers
Method
markNoLongerNeeded
markNoLongerNeeded sets noLongerNeeded on the states of the candidates whose current occurrence a link marked. One read per page. The mark is keyed by
internal/store/schedule_deadline_eval.go:303
↓ 1 callers
Method
markPartialImport
markPartialImport records the durable partial-import marker on a workspace an import left behind (TASK-896). The note is SANITIZED: the category and a
internal/server/handlers_import_bundle.go:1442
↓ 1 callers
Method
markRelationLinksBackfilled
markRelationLinksBackfilled records a completed pass.
internal/store/relation_links_backfill.go:181
↓ 1 callers
Function
markRows
Mark the rows of a JSON array (or `{items}`/`{results}` wrapper) whose id is in `ids`.
web/e2e/bug-3050-stale-body-renders.spec.ts:51
↓ 1 callers
Function
markdown
(ed: Editor)
web/src/lib/components/editor/extensions/softLineBreak.svelte.test.ts:14
↓ 1 callers
Function
markdownOf
(editor: TiptapEditor)
web/src/lib/collab/materializer/bug3568InlineAtomMarks.svelte.test.ts:86
↓ 1 callers
Function
markdownRefFor
(result: AttachmentUploadResult)
web/src/lib/utils/commentAttachments.ts:86
↓ 1 callers
Method
markedRows
(t *testing.T)
internal/store/commitment_cancel_test.go:307
↓ 1 callers
Function
markerOf
(text: string)
web/src/lib/components/editor/extensions/htmlProse.ts:234
↓ 1 callers
Function
markerWritersInCLI
markerWritersInCLI returns every non-test top-level function in internal/cli whose body references the StructuredErrorMarker identifier.
internal/mcp/too_large_test.go:260
↓ 1 callers
Function
marksOf
(e: Editor)
web/src/lib/components/editor/extensions/flankingMarks.svelte.test.ts:15
↓ 1 callers
Function
markupAsyncArrows
* Inline async arrows in the MARKUP. These are the population the * function-level enumeration cannot see, and the reason this guard has two * lists
web/src/routes/[username]/[workspace]/settingsIdentityFence.test.ts:83
↓ 1 callers
Function
marshalledText
marshalledText renders a self-marshalling value as text (not yet scrubbed). A JSON string literal is unquoted, so a time or an address keeps its plain
internal/logging/scrub.go:805
↓ 1 callers
Function
maskPassword
maskPassword replaces the password in a PostgreSQL URL for safe display.
cmd/pad/cmd_db.go:973
↓ 1 callers
Function
maskWebhookSecret
maskWebhookSecret blanks the plaintext HMAC secret before a webhook is returned in a list/get response, so the raw signing secret is never echoed afte
internal/server/handlers_webhooks.go:19
↓ 1 callers
Function
matchMarker
(result: Pick<PaletteResult, 'matched_in'>)
web/src/lib/components/search/groupResults.ts:96
↓ 1 callers
Function
matchParen
Index of the paren matching the one at `open`, skipping strings, templates and comments.
web/src/lib/stores/chatSurfaceCallers.test.ts:36
↓ 1 callers
Function
matches
(s: string, sub: string)
web/src/lib/collab/patchApply.ts:53
↓ 1 callers
Function
matchesFilter
(row: HistoryRow, filter: HistoryFilter, person: string | null)
web/src/lib/components/timeline/historyEvents.ts:384
↓ 1 callers
Function
matchesFilter
( item: PublicItem, filter: unknown, fieldTypes?: ReadonlyMap<string, string>, )
web/src/lib/components/share/shareView.ts:248
↓ 1 callers
Function
matchesRefNumber
True when `candidate` is `current`'s own item number, expressed as a * ref-shaped string (case-insensitive, prefix ignored — see `REF_SHAPE`'s * d
web/src/lib/collections/paneTarget.ts:247
↓ 1 callers
Function
matchingCloseIndex
* Index just past the `</div>` that closes the `<div>` containing `from`. * * Counts nesting, because the naive "next `</div>`" reading is what made
web/src/lib/components/layout/topBarSignOutPinned.test.ts:41
↓ 1 callers
Function
materializeErrorKind
materializeErrorKind names the typed materialize error, for the log line.
internal/server/materialize_recovery.go:683
↓ 1 callers
Function
materializeWorkerCmd
materializeWorkerCmd is the op-log materializer worker process (TASK-2198): the server spawns it and speaks internal/materialize's length-prefixed JSO
cmd/pad/cmd_materialize.go:23
↓ 1 callers
Function
maxLengthTitle
()
internal/store/items_title_validation_test.go:34
↓ 1 callers
Function
mayMarkAtoms
Whether a transaction could have put a mark on an inline atom.
web/src/lib/components/editor/extensions/inlineAtomNoMarks.ts:38
↓ 1 callers
Method
maybeAutoAddCreatorConnection
maybeAutoAddCreatorConnection inserts the newly-created workspace into the calling OAuth connection's allow-list when the grant carries `may_create_wo
internal/server/handlers_workspaces.go:584
↓ 1 callers
Method
maybeRebuildOnSchemaMismatch
maybeRebuildOnSchemaMismatch implements the TASK-1268 rebuild flow. Reads the latest persisted op-log row's schema_version for itemID. If a row exist
internal/collab/manager.go:646
↓ 1 callers
Function
mcpAppsEnabled
mcpAppsEnabled reads PAD_MCP_APPS with the PAD_MCP_ENABLED vocabulary: false, 0, no or off (any case, surrounding space ignored) turn MCP Apps off; an
cmd/pad/cmd_server.go:1467
↓ 1 callers
Function
mcpCmd
mcpCmd is the parent of `pad mcp ...` subcommands. - `pad mcp serve` — run the stdio MCP server. - `pad mcp install [agent]` — write a "pad" entry in
cmd/pad/mcp.go:21
↓ 1 callers
Method
mcpKeepaliveEvery
mcpKeepaliveEvery is the /events keepalive cadence, or a test's override.
internal/server/mcp_stream_keepalive.go:174
↓ 1 callers
Function
mcpStatusCmd
mcpStatusCmd implements `pad mcp status` — same as `pad mcp install` with no args, but exposed as a dedicated command for shell scripts.
cmd/pad/mcp.go:163
↓ 1 callers
Function
mcpToolCallTarget
mcpToolCallTarget returns the tool name and the `action` argument of a single JSON-RPC tools/call REQUEST that mcp-go would run: jsonrpc is exactly "2
internal/server/middleware_mcp_scope.go:103
↓ 1 callers
Function
mcpUninstallCmd
mcpUninstallCmd implements `pad mcp uninstall <agent>`.
cmd/pad/mcp.go:132
↓ 1 callers
Function
md
(raw: string | null)
web/e2e/bug-3863-held-draft.spec.ts:27
↓ 1 callers
Method
meAgendaScope
meAgendaScope applies the same visibility and empty-scope rules to list and counts reads.
internal/server/handlers_me_agenda.go:293
↓ 1 callers
Function
mediumAnswer
(choice string, p float64, qhash string)
internal/server/needs_scorers_test.go:366
↓ 1 callers
Function
memberName
(m: Node)
web/src/lib/components/items/childIdentityFencePopulation.test.ts:922
↓ 1 callers
Function
membersCmd
()
cmd/pad/cmd_workspace.go:104
↓ 1 callers
Method
membershipVisibleCollectionIDsQ
membershipVisibleCollectionIDsQ is the visibility a membership (or a guest's grants) gives, before any app ceiling.
internal/store/workspace_members.go:530
↓ 1 callers
Function
mentionDedupeKey
(commentID, userID string)
internal/store/notifications.go:276
↓ 1 callers
Function
mentionsWatchEventsField
mentionsWatchEventsField reports whether expr reads the Server's watchEvents field anywhere inside it, so a wrapped or parenthesised receiver is still
internal/server/publish_sites_ruled_test.go:182
↓ 1 callers
Function
menu
(seq: number, label: string)
web/src/routes/messages/messagesRoutes.svelte.test.ts:1071
↓ 1 callers
Function
menuButtonByText
(label: string)
web/src/lib/components/editor/blockDragHandleFreeze.svelte.test.ts:45
↓ 1 callers
Function
menuButtons
(c: HTMLElement)
web/src/lib/components/collections/ListView.groupActions.svelte.test.ts:74
↓ 1 callers
Function
menuIsOpen
The menu is built once at plugin init and toggled by `display`.
web/src/lib/components/editor/blockDragHandleModalArbitration.svelte.test.ts:147
↓ 1 callers
Function
menuItem
(c: HTMLElement, text: string)
web/src/lib/components/collections/ListView.groupActions.svelte.test.ts:75
↓ 1 callers
Function
menuItem
(label: string)
web/src/lib/components/items/itemDetailPeekDismiss.svelte.test.ts:168
↓ 1 callers
Function
menuNavigable
What Menu.svelte's keyboard navigation actually queries (Menu.svelte:130).
web/src/lib/components/common/MenuItem.svelte.test.ts:25
↓ 1 callers
Function
menuOpen
()
web/src/routes/(console)/consoleShellEscape.svelte.test.ts:41
↓ 1 callers
Function
mergeCancellation
mergeCancellation returns a context that ends when EITHER input does. It exists because the dial has two legitimate reasons to be abandoned that live
internal/events/redis_bus.go:1985
↓ 1 callers
Function
mergeHead
(held: readonly T[], fresh: readonly T[])
web/src/lib/utils/activityPaging.ts:64
↓ 1 callers
Function
mergeNewAndReopened
mergeNewAndReopened interleaves the two lists newest first, one line per item: an item created and then reopened in the same window shows once, as its
internal/store/catch_up.go:336
↓ 1 callers
Function
mergePriorStatus
mergePriorStatus returns next, with prev's prior_status restored when next has none. Deliberately one key. The snapshots describe the same row at two
internal/store/event_outbox.go:2493
↓ 1 callers
Function
mergeRolesPatch
(stored scheduleRoles, p models.CommitmentRolesPatch)
internal/store/commitment.go:488
↓ 1 callers
Function
mergeRow
* Apply a single row to a workspace's items map with the per-row * seq guard. Used by `bootstrap` (both warm and cold paths) and * `upsert`/`applyDe
web/src/lib/stores/localIndex.svelte.ts:638
↓ 1 callers
Function
mergeSeqChain
mergeSeqChain fixes the chain keys of a debounced merge: the merged entry spans the first run's prev_seq to the latest seq, which is true only when th
internal/store/activity_seq_chain.go:106
↓ 1 callers
Function
mergeUTF8Violations
mergeUTF8Violations folds one column's invalid-UTF-8 findings into its NUL findings, so a value carrying both defects is ONE violation with both kinds
internal/store/nulutf8.go:97
↓ 1 callers
Function
mergeWho
(a: HistoryWho, b: HistoryWho)
web/src/lib/components/timeline/historyEvents.ts:157
↓ 1 callers
Function
mergedPR
mergedPR is an item's linked PR when it has merged with a known merge SHA.
internal/server/handlers_verifications.go:366
↓ 1 callers
Function
mermaidDrawn
* Opens a doc holding one mermaid block and waits for the render to SETTLE * (an svg, or the failed-render marker), then reports what was drawn.
web/e2e/task-3552-diagram-graph-render.spec.ts:64
↓ 1 callers
Method
messagesAfter
(ctx context.Context, number int, after int64, limit int)
cmd/pad/cmd_watch_chat.go:37
↓ 1 callers
Method
metBy
(done time.Time)
internal/store/commitment.go:68
↓ 1 callers
Function
meta
* BUG-2964 — a HEIC attachment rendered as a broken image on a pure-Go build. * * The chain: `deriveThumbnails` skips a source the processor cannot
web/src/lib/markdown/attachmentEmbedDecision.test.ts:24
↓ 1 callers
Function
meta
(filename: string)
web/src/lib/attachments/bidiIsolation.svelte.test.ts:42
↓ 1 callers
Function
metaDetail
()
web/src/lib/components/common/Lightbox.svelte.test.ts:4508
↓ 1 callers
Function
metaError
()
web/src/lib/components/common/Lightbox.svelte.test.ts:4511
← previous
next →
12,401–12,500 of 28,840, ranked by callers