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
named
(n: number, key: string)
web/src/lib/stores/chatInbox.svelte.test.ts:578
↓ 1 callers
Function
namedStub
TASK-3321 U2b: the ChatGPT catalog's mount at /mcp/chatgpt, driven through the REAL router (route ordering included). Each mount's stub transport answ
internal/server/task3321_u2b_mount_test.go:20
↓ 1 callers
Function
names
()
web/src/lib/components/layout/WorkspaceSwitcher.notLoaded.svelte.test.ts:45
↓ 1 callers
Function
names
()
web/src/lib/components/items/RefusedRawDraftNotice.svelte.test.ts:51
↓ 1 callers
Method
names
()
internal/watchevents/redis_bus_test.go:391
↓ 1 callers
Function
namesCompleted
namesCompleted reports whether the day filters or order read `completed`, whose expression is built from the collection schema through the pool.
internal/store/items.go:1295
↓ 1 callers
Function
narrowFixtureConnection
(t *testing.T, s *Store, requestID, userID string, allCurrent, future bool)
internal/store/oauth_connections_narrow_test.go:26
↓ 1 callers
Function
narrowFixtureWorkspace
BUG-3338: a connection stored with the wildcard on and "future" off is narrowed to its user's current memberships; nothing else is touched.
internal/store/oauth_connections_narrow_test.go:14
↓ 1 callers
Function
native
()
web/src/lib/components/items/ItemCommitmentEditDialog.svelte.test.ts:18
↓ 1 callers
Function
nativeDrags
(page: import('@playwright/test').Page)
web/e2e/task-2237-card-link.spec.ts:37
↓ 1 callers
Function
navigatePaneTo
(target: string)
web/src/lib/collections/paneHostController.ts:310
↓ 1 callers
Function
navigateTo
(ws: string)
web/src/routes/[username]/[workspace]/roles/rolesWorkspaceSwitch.svelte.test.ts:146
↓ 1 callers
Method
needsAttachMarkers
needsAttachMarkers fills each shown row's marker: the item's state as the viewer sees it now, one batch per workspace.
internal/server/handlers_me_needs.go:585
↓ 1 callers
Method
needsForWorkspace
needsForWorkspace runs the router for one admitted workspace and returns the rows routed to the caller, held ones included (the caller splits the view
internal/server/handlers_me_needs.go:317
↓ 1 callers
Function
needsResync
(board: Board, changes: BoardChanges)
web/src/mcp-app/boardModel.ts:47
↓ 1 callers
Function
needsSession
(canClaim: boolean)
web/src/routes/verify-email/[token]/verifyNeedsSession.svelte.test.ts:71
↓ 1 callers
Function
needsUser
(t *testing.T, s *Store, email string)
internal/store/needs_snooze_test.go:36
↓ 1 callers
Function
neighbour
(i: number)
web/e2e/lib/boardClickProbe.ts:51
↓ 1 callers
Function
never
()
web/src/routes/[username]/[workspace]/insights/insightsCustomize.svelte.test.ts:10
↓ 1 callers
Function
neverCheck
neverCheck holds one compiled schedule at one query point to the contract under every MaxSteps.
internal/schedule/neverpartial_test.go:217
↓ 1 callers
Function
newAppResponseBuffer
()
internal/server/app_api.go:576
↓ 1 callers
Function
newAttachment
(ws *models.Workspace, source string)
internal/store/bug2819_provenance_test.go:25
↓ 1 callers
Function
newBlackholeProxy
(t *testing.T, backend string)
internal/events/redis_blackhole_test.go:44
↓ 1 callers
Function
newBlackholeProxy
(t *testing.T, backend string)
internal/watchevents/blackhole_test.go:51
↓ 1 callers
Method
newBuffer
newBuffer builds a replay buffer of the right flavour for this bus's history: once a sequence has been discarded under us, every buffer we build after
internal/events/redis_bus.go:2468
↓ 1 callers
Function
newBug3814Fixture
One version, "vt": a reverse patch from the current body back to the target, created now so a throttled write rebases it.
internal/server/bug3814_version_chain_snapshot_test.go:44
↓ 1 callers
Function
newChatSummary
(c models.ConversationSummary)
internal/server/handlers_chat_dto.go:80
↓ 1 callers
Function
newChiCtx
(params map[string]string)
internal/server/task3401_app_api_test.go:672
↓ 1 callers
Function
newCopyRelationFixtureIncompatibleSource
newCopyRelationFixtureIncompatibleSource declares the SOURCE's `owner_ref` as text and the destination's as a relation with a resolvable default, so m
internal/server/handlers_items_copy_relation_test.go:803
↓ 1 callers
Function
newCopyRelationFixtureNullSource
newCopyRelationFixtureNullSource is the relation fixture whose SOURCE item stores an explicit JSON null for the relation, with a resolvable default on
internal/server/handlers_items_copy_relation_test.go:641
↓ 1 callers
Function
newDeleteAccountWorld
(t *testing.T, srv *Server, customerID string)
internal/server/task4278_account_delete_budget_test.go:102
↓ 1 callers
Function
newDurationVar
(d time.Duration)
internal/store/decisions.go:323
↓ 1 callers
Function
newDynamicResolver
newDynamicResolver constructs a cmdhelp.Resolver bound to the current pad runtime: workspace, configured server URL, and credentials. Returns nil whe
cmd/pad/help_cmdhelp.go:176
↓ 1 callers
Function
newEvent
(e: TimelineEntry, who: HistoryWho)
web/src/lib/components/timeline/historyEvents.ts:177
↓ 1 callers
Function
newFakeClock
()
internal/materialize/supervisor_test.go:257
↓ 1 callers
Function
newId
* Crypto-strong-ish placeholder id. crypto.randomUUID is the preferred * source; the Math.random fallback is only hit in environments without * the
web/src/lib/components/editor/attachment-upload.ts:130
↓ 1 callers
Function
newImportCorrelationID
newImportCorrelationID mints the id a partial-import note and its server log line share (TASK-896).
internal/server/handlers_import_bundle.go:1423
↓ 1 callers
Function
newImportKey
()
web/src/lib/workspaces/importOutcome.ts:19
↓ 1 callers
Function
newInvalidPathSeamFixture
(t *testing.T)
internal/mcp/dispatch_http_invalid_path_test.go:80
↓ 1 callers
Function
newItemRenameCascadeTooLargeError
(newTitle string, processed int64)
internal/store/wiki_links.go:1787
↓ 1 callers
Function
newJSONRequest
newJSONRequest is a local helper for tests that need to thread custom headers (Bearer auth, RemoteAddr) through to a request — the package's doRequest
internal/server/handlers_ref_resolver_test.go:19
↓ 1 callers
Function
newMCPAuditWriter
newMCPAuditWriter constructs a writer with a 4096-deep queue. The caller is responsible for kicking the worker via run() and for stopping it via stop(
internal/server/middleware_mcp_audit.go:111
↓ 1 callers
Function
newMemNet
()
cmd/pad/chat_synctest_net_test.go:25
↓ 1 callers
Method
newMerger
(loc *time.Location, base time.Time, lim Limits)
internal/schedule/engine.go:206
↓ 1 callers
Method
newNeedsScorers
newNeedsScorers is the pair New registers. The runner is read per call, not here: it is attached after New (SetDecisionRunner).
internal/server/needs_scorers.go:247
↓ 1 callers
Function
newReplayBufferAfterReset
newReplayBufferAfterReset builds a buffer replacing one whose sequence was discarded. Its floor refuses every cursor at or below `discarded`, the high
internal/events/bus.go:445
↓ 1 callers
Function
newRunContext
(d time.Duration)
cmd/loadtest-collab/main.go:163
↓ 1 callers
Function
newShadowFixture
newShadowFixture builds a workspace holding BOTH a user collection whose slug IS a hardcoded singular ("plan") and its plural ("plans"), so the BUG-26
internal/mcp/dispatch_http_collection_alias_test.go:108
↓ 1 callers
Function
newSignatureForTest
()
internal/server/handlers_connected_apps_test.go:88
↓ 1 callers
Function
newStubLeaseServer
(t *testing.T)
cmd/pad/cmd_item_lease_test.go:25
↓ 1 callers
Function
newStubTokenServer
(t *testing.T, wantToken string)
cmd/pad/cmd_token_test.go:31
↓ 1 callers
Function
newTCPCutter
(t *testing.T, backend string)
internal/watchevents/redis_reconnect_test.go:48
↓ 1 callers
Function
newTestRedisBusWithServer
(t *testing.T)
internal/events/publish_outcome_test.go:35
↓ 1 callers
Function
newTextDecoder
(vm *goja.Runtime, call goja.ConstructorCall)
internal/materialize/globals.go:188
↓ 1 callers
Function
newTextEncoder
(vm *goja.Runtime, call goja.ConstructorCall)
internal/materialize/globals.go:141
↓ 1 callers
Function
newThread
()
web/src/lib/stores/chatThread.lateRefusal.svelte.test.ts:81
↓ 1 callers
Function
newWebhookSink
(t *testing.T)
internal/server/outbox_drain_test.go:38
↓ 1 callers
Function
newer
()
web/src/routes/messages/messagesRoutes.svelte.test.ts:968
↓ 1 callers
Method
newestVersionIsUnflushedApplierRow
shouldCreateItemVersion mirrors ShouldCreateVersion but queries item_versions. It takes the executor for the same reason its document twin does (BUG-2
internal/store/items.go:6497
↓ 1 callers
Method
nextAfterCompletion
(sc *models.ItemSchedule, rule schedule.Rule, rec *time.Location, x, actual time.Time)
internal/store/schedule_resolve.go:996
↓ 1 callers
Function
nextBoardCall
(n: number)
web/src/routes/[username]/[workspace]/roles/rolesWorkspaceSwitch.svelte.test.ts:130
↓ 1 callers
Function
nextClientWrite
()
web/src/lib/items/clientWrite.ts:28
↓ 1 callers
Function
nextCmd
--- next ---
cmd/pad/cmd_project.go:209
↓ 1 callers
Function
nextConnID
()
internal/collab/room.go:1168
↓ 1 callers
Function
nextDelay
(prev: number, rateLimited: boolean)
web/src/mcp-app/boardModel.ts:86
↓ 1 callers
Function
nextFrame
()
web/src/lib/components/common/Menu.scrollDismiss.svelte.test.ts:30
↓ 1 callers
Function
nextGet
(n: number)
web/src/lib/components/activity/CatchUpCard.svelte.test.ts:86
↓ 1 callers
Function
nextGuarded
nextGuarded reads the guarded flag of the next applier_request, failing the test rather than hanging when none arrives (the write took the direct path
internal/server/handlers_items_content_route_test.go:554
↓ 1 callers
Function
nextLine
(content: string, i: number)
web/src/lib/chat/refs.ts:21
↓ 1 callers
Function
nextTrapTarget
( focusables: HTMLElement[], active: Element | null, shiftKey: boolean, container: HTMLElement, )
web/src/lib/collections/paneFocus.ts:101
↓ 1 callers
Function
nextTrapTargetAcross
( regions: HTMLElement[], active: Element | null, shiftKey: boolean, isVisible: (el: HTMLElement) => boole
web/src/lib/collections/paneFocus.ts:129
↓ 1 callers
Function
noCreated
()
web/src/routes/(console)/agenda/agenda.svelte.test.ts:1472
↓ 1 callers
Function
noHorizontalOverflow
(page: Page, selector: string)
web/e2e/chat-entries.spec.ts:59
↓ 1 callers
Function
nodeInteriorLuminance
* Relative luminance (0 black .. 1 white) of the painted pixel inside the first * node's FILL. * * Measured on the node's SHAPE, not on `g.node`, w
web/e2e/bug-3112-mermaid-print-dark-mode.spec.ts:64
↓ 1 callers
Function
nodeScriptCmd
(pm, script string)
internal/cli/detect.go:336
↓ 1 callers
Function
nonAPIRoutes
nonAPIRoutes are the DR-5 routes the DR-6 allowlist covers: everything outside /api/v1.
cmd/pad/mcp_capability_test.go:482
↓ 1 callers
Function
nonEmpty
(s: string | undefined | null)
web/src/lib/components/timeline/historyEvents.ts:98
↓ 1 callers
Method
none
()
internal/server/handlers_search.go:277
↓ 1 callers
Function
noop
()
web/src/lib/components/timeline/timelineViaAppLabel.svelte.test.ts:28
↓ 1 callers
Function
noopComponent
()
web/src/lib/components/common/QuickActionsMenu.svelte.test.ts:69
↓ 1 callers
Function
normalizeArguments
normalizeArguments coerces the arguments value into []map[string]any so it serializes as a stable YAML sequence of maps. Accepts []map[string]any or [
internal/artifact/encode.go:109
↓ 1 callers
Function
normalizeBody
normalizeBody trims a trailing run of whitespace/newlines and ensures the body ends with exactly one trailing "\n". An empty body becomes "\n".
internal/artifact/encode.go:87
↓ 1 callers
Function
normalizeBulkFailures
normalizeBulkFailures reduces a bulk response to the per-item failure shape a probing caller could observe — codes and messages, with item ids strippe
internal/server/collection_resolve_test.go:564
↓ 1 callers
Function
normalizeBulkUpdateRefs
normalizeBulkUpdateRefs accepts the JSON shapes the MCP transport can deliver for an array<string> param: []string (canonical), []any (mcp-go's typica
internal/mcp/catalog_item.go:803
↓ 1 callers
Function
normalizeColor
(c: string)
web/src/lib/utils/hiddenContentDetector.ts:239
↓ 1 callers
Function
normalizeFilename
normalizeFilename is the rule itself. substituted is true when the result is a server-chosen name rather than some form of the caller's.
internal/attachments/filename.go:133
↓ 1 callers
Function
normalizeImportedInstant
normalizeImportedInstant parses a bundle timestamp in either form the op-log is written in and returns it as the RFC3339 UTC the store writes, so an i
internal/store/yjs_set_aside.go:233
↓ 1 callers
Function
normalizeJSONValue
normalizeJSONValue round-trips a value through JSON so a caller value that is not already in decoded-JSON form (a typed struct, an int) compares equal
internal/server/handlers_items_reserved_write.go:143
↓ 1 callers
Function
normalizePragma
(p string)
internal/store/store.go:1413
↓ 1 callers
Function
normalizePreview
(p: AppInstallPreview)
web/src/lib/components/settings/apps/appsShape.ts:18
↓ 1 callers
Function
normalizeSQLiteRestore
SQLite's backup API preserves hidden row IDs (unlike VACUUM INTO), including those used by external-content FTS indexes. Its destination is a fresh st
cmd/pad/db_restore_sqlite.go:169
↓ 1 callers
Function
normalizeServerURL
(raw string)
cmd/pad/cmd_workspace.go:832
↓ 1 callers
Function
normalizeWorkspaceInput
(input *models.WorkspaceCreate)
internal/server/handlers_workspaces.go:43
↓ 1 callers
Function
normalizeWorkspaceUpdateInput
(input *models.WorkspaceUpdate)
internal/server/handlers_workspaces.go:62
↓ 1 callers
Function
normalize_package
(package, module)
scripts/ci-pg-trace.py:23
↓ 1 callers
Function
notFoundHintFor
notFoundHintFor generates the actionable hint for ErrNotFound. References the route + ref/slug + suggests verification of the path the caller passed.
internal/mcp/errors.go:1488
↓ 1 callers
Function
notFoundMessageFor
notFoundMessageFor returns a kind-aware short message for the not_found code. Falls back to a generic "Resource not found" when the kind doesn't match
internal/mcp/errors.go:1465
↓ 1 callers
Function
note
(id: string, sec: number, actor = 'agent')
web/src/lib/components/timeline/historyEvents.test.ts:58
↓ 1 callers
Method
noteEdit
An edit: sets the base only if none is held (raw entered without a seed).
web/src/lib/items/rawBase.ts:28
↓ 1 callers
Function
noteEntry
(overrides: Partial<TimelineEntry> = {})
web/src/lib/components/timeline/timelineStructuredEntries.svelte.test.ts:77
← previous
next →
12,701–12,800 of 28,840, ranked by callers